Set columns to not null, remove backfill code

This commit is contained in:
2022-01-18 21:50:09 -05:00
parent 337b673e02
commit e7fe7abfb7
3 changed files with 40 additions and 54 deletions

View File

@@ -0,0 +1,3 @@
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;