Migration down missing. Intentional? #2264
Answered
by
freekmurze
TechTailor
asked this question in
General
-
Okay so I can across this issue when building a new app, needed to reset the migrations (due to changes to several tables) and came to realize that the media table doesn't have the down method. Now I know have a down method in a production environment doesn't really make sense and of course, you can always just add the method yourself after publishing the migration but wanted to know if there's a particular reason for not shipping it by default? |
Beta Was this translation helpful? Give feedback.
Answered by
freekmurze
Jan 20, 2021
Replies: 1 comment 3 replies
-
We never migrate down. When we want to revert something we just write a new migration. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
TechTailor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We never migrate down. When we want to revert something we just write a new migration.