mirror of https://gitlab.com/litecord/litecord.git
migration.scripts: add NOT NULL and DEFAULT to guilds.features
This commit is contained in:
parent
87781c4606
commit
4bb3cad43e
|
|
@ -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 '{}';
|
||||
|
|
|
|||
Loading…
Reference in New Issue