Y (up migration), down migration is DROP TABLE x. do I need another down migration for the ALTER table x ADD colum Y? or drop table is enough?
wait, you're altering a table and if you want to downgrade you delete the table?! that sound broken, what's the reason you're deleting the table and not the column?!
Down migration should be the opposite of the same Up migration
yeah, that's a bad idea. i didn't do it perrsonly (the drop table), can't revert this change anyway
Обсуждают сегодня