sequelize-ui icon indicating copy to clipboard operation
sequelize-ui copied to clipboard

Difference migration feature request

Open mehmetdemiray opened this issue 2 years ago • 1 comments

App is migrating everything as combined currently. My feature request is separated migrations. For example I created new scheme and it created migrations it's ok. After that if i add new field in model it needs to create new migration.

Maybe one more button needs like "Save Migration". If you click save button migrations appear combined. If you click migrate button it create new migration according to the difference with the last changes. Because as you know after start the project we can not changes migrations only we can add new ones for changes.

mehmetdemiray avatar Oct 06 '22 19:10 mehmetdemiray

I agree that currently the generated migrations are only useful for new projects/tables; this request makes sense.

I like the "Save Migration" idea and would love to dig into this when I have some time.

tomjschuster avatar Oct 29 '22 18:10 tomjschuster