0
Fixed

Migration script error - DROP NOT NULL versus SET NOT NULL

Stéphan Doucet 4 years ago updated by Michał Kołodziejski 4 years ago 3

If I modify a column of a table to allow NULL, the migration script generate this :


ALTER TABLE "myTable"

ALTER "myColumn" SET NOT NULL;


Instead of :


ALTER TABLE "myTable"

ALTER "myColumn" DROP NOT NULL;

Planned

You're right, it's a bug. We'll fix it soon.

Fixed

It's fixed now. Thanks for reporting this issue.