diff --git a/manage/cmd/migration/scripts/12_remove_features_table.sql b/manage/cmd/migration/scripts/12_remove_features_table.sql index 5f37056..7c8df16 100644 --- a/manage/cmd/migration/scripts/12_remove_features_table.sql +++ b/manage/cmd/migration/scripts/12_remove_features_table.sql @@ -1,4 +1,5 @@ DROP TABLE guild_features; DROP TABLE features; -ALTER TABLE guilds ADD COLUMN features text[]; +-- this should do the trick +ALTER TABLE guilds ADD COLUMN features text[] NOT NULL DEFAULT '{}';