modmapper/migrations/20220119022820_make_backfilled_mod_columns_non_null.sql

3 lines
184 B
MySQL
Raw Normal View History

ALTER TABLE "mods" ALTER COLUMN "last_update_at" SET NOT NULL;
ALTER TABLE "mods" ALTER COLUMN "first_upload_at" SET NOT NULL;
ALTER TABLE "mods" ALTER COLUMN "author_id" SET NOT NULL;