python - If a django migration is migrated to db, what is the best practice if the migration is deleted at a later date? -


while shouldn't happen not impossible.

so in event migration has been run database , migration file has been deleted , not recoverable?

this assumes database cannot dropped.

the first approach i'd try check out last commit , recreate model changes in question migration regenerated , checked in.

and while it's have contingency plan things this, if it's real concern i'd suggest evaluating deployment process make issue less likely.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -