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

Question: Should generate sources remove sources/staging models that are no longer in the database? #315

Open
jaredx435k2d0 opened this issue Feb 1, 2023 · 2 comments
Labels
reviewed: yes Has undergone review triaged: no Hasn't been approved for future implementation

Comments

@jaredx435k2d0
Copy link

I noticed that when I re-run generate sources, sources and staging models for which the base tables have been deleted from the database are not modified / deleted. Is that the expected behavior?

@github-actions github-actions bot added the triaged: no Hasn't been approved for future implementation label Feb 1, 2023
@BAntonellini
Copy link
Collaborator

@jaredx435k2d0 it's in fact the expected behavior. generate sources aims to create/update content, not delete it.

@jaredx435k2d0
Copy link
Author

Does the new recreate option drop existing objects?

@BAntonellini BAntonellini added the reviewed: yes Has undergone review label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewed: yes Has undergone review triaged: no Hasn't been approved for future implementation
Projects
None yet
Development

No branches or pull requests

2 participants