3 ms·
There is no way to autogenerate migrations that work in all cases. There are lots of things out there that can generate migrations that work for most simple cas
by IceDane 8mo ago
There is no way to autogenerate migrations that work in all cases. There are lots of things out there that can generate migrations that work for most simple cases.
- etchalon 8mo agoDjango manages to autogenerate migrations that work in the VAST majority of cases.
- boxed 8mo agoThat's why you can do your own migrations in Django for those edge cases.
- frankwiles 8mo agoI end up needing to write a manual migration maybe once every other year in real world use.
- hansonkd 8mo agoThey don't need to work in every case. For the past `~15 years 100% of the autogenerated migrations to generating tables, columns or column names I have made just work. and i have made thousands of migrations at this point. The only thing to manually migrate are data migrations from one schema to the other.