BEGIN; -- The cover continues to use the existing design/post identity and archival lifecycle. ALTER TABLE studio_designs ADD COLUMN IF NOT EXISTS document jsonb CHECK(document IS NULL OR jsonb_typeof(document)='object'); INSERT INTO schema_migrations(version) VALUES('013_studio_series') ON CONFLICT DO NOTHING; COMMIT;