ALTER TABLE "events" ADD COLUMN "state" text DEFAULT 'Final' NOT NULL; UPDATE "events" SET "state" = 'Final' WHERE "state" IS NULL;