You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would squash all migrations from ts1 to ts2 onto ts2 (effectively removing all intermediary states).
The why: I'm thinking about two scenarios:
you are coding and applying schema changes one after another and end up with a bunch of inferred migrations. You could squash them all into one before committing.
a project is a bit older and you want to trim down the size of the resources/migrations folder
Potential caveat: squashing would have to be limited to non-tx-fn migrations?
The text was updated successfully, but these errors were encountered:
The idea would be something like this:
This would squash all migrations from ts1 to ts2 onto ts2 (effectively removing all intermediary states).
The why: I'm thinking about two scenarios:
Potential caveat: squashing would have to be limited to non-tx-fn migrations?
The text was updated successfully, but these errors were encountered: