3 ms·
Only major gotcha is when renaming fields: it'll drop the old field then create a new field, by default. You have to do the renaming by hand, trivial but can't
by nickserv 7y ago
Only major gotcha is when renaming fields: it'll drop the old field then create a new field, by default. You have to do the renaming by hand, trivial but can't be forgotten... Which is why you always test on staging first of course.
- haihaibye 7y agoMakemigrations detects if the type is the same and asks you if you renamed it. So, when changing columns do the type change and name change in separate migrations and you won't have to do it by hand.