migration.scripts: add NOT NULL and DEFAULT to guilds.features

This commit is contained in:
Luna 2019-03-11 02:04:07 -03:00
parent 87781c4606
commit 4bb3cad43e
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
DROP TABLE guild_features; DROP TABLE guild_features;
DROP TABLE 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 '{}';