Skip to content

DROP TABLE in migration #3134

Answered by godcong
Liooo asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Liooo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants