MSP-623 add migration to set value access_list to not null

This commit is contained in:
DeniskaRediska committed 2022-06-06 15:44:27 +03:00
1 parent bb36c55746
commit 4b5412e21b
1 file changed
+7
@@ -0,0 +1,7 @@
-- +goose Up
UPDATE access_list SET value = false WHERE value is null;
ALTER TABLE access_list
ALTER COLUMN value SET NOT NULL;
-- +goose Down