Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database and schema name not updated #14

Open
ewosl opened this issue Sep 28, 2023 · 2 comments
Open

database and schema name not updated #14

ewosl opened this issue Sep 28, 2023 · 2 comments

Comments

@ewosl
Copy link

ewosl commented Sep 28, 2023

Hello,

I noticed that every time I change the name of the database and schema in secrets.toml and files in doc folder, it does not get updated in the subsequent generated queries - the queries continue to use the old database and schema. I tried clearing up the cache but it did not work. Any suggestions on how to work around this issue?

Thanks.

@kaarthik108
Copy link
Owner

Hi @ewosl , changing the database setting in secrets will only say the model to execute the queries in that database.
You will need to modify the docs/ folder to make sure the model knows your correct DDL

@ewosl
Copy link
Author

ewosl commented Oct 4, 2023

Thanks for your response @kaarthik108. However, I also modified the docs/ folder every time and the issue remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants