0
Fixed

Migration script error - DROP NOT NULL versus SET NOT NULL

Stéphan Doucet 8 jaar geleden bijgewerkt door anonymous 8 jaar geleden 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.