From b6f7f8b2599ce6fe1ef09dc77c81443abc0ab7b8 Mon Sep 17 00:00:00 2001 From: Allison Lee Date: Mon, 13 Jul 2026 15:08:40 -0400 Subject: [PATCH] Separate clauses for column active --- db/migration/V0004__Alter_members_table.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/migration/V0004__Alter_members_table.sql b/db/migration/V0004__Alter_members_table.sql index a5d7cf9..b686c9c 100644 --- a/db/migration/V0004__Alter_members_table.sql +++ b/db/migration/V0004__Alter_members_table.sql @@ -4,4 +4,5 @@ ALTER TABLE members RENAME COLUMN industry TO industry_pref; ALTER TABLE members RENAME COLUMN role TO role_pref; ALTER TABLE members ALTER COLUMN introduction SET NOT NULL; -ALTER TABLE members ALTER COLUMN active SET NOT NULL DEFAULT TRUE; \ No newline at end of file +ALTER TABLE members ALTER COLUMN active SET DEFAULT TRUE; +ALTER TABLE members ALTER COLUMN active SET NOT NULL; \ No newline at end of file