-
Currently versioned migration doesn't generate DROP TABLE statements, nor is there |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
How do you determine which tables are to be deleted? The only solution I can think of is to introduce another table dedicated to migration to manipulate these |
Beta Was this translation helpful? Give feedback.
-
Thanks, that should be the reason it doesn't exist. It'd be nice if there was an option to simply delete all tables that are not ent managed or let it accept whitelist tables, which should be enough to cover the cases that the database includes only ent managed tables, which in my complete guess shouldn't be a rare one. |
Beta Was this translation helpful? Give feedback.
How do you determine which tables are to be deleted?
If you are using multiple sql tools, some are generated by ent.
Some are generated by other tools or non-tools.
How do you determine which tables need to be deleted if you simply
drop=true
?The only solution I can think of is to introduce another table dedicated to migration to manipulate these