modify command table

This commit is contained in:
Jay 2018-07-11 22:35:54 +08:00
parent 5ed1e462b3
commit bb3606b35b
2 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,8 @@
{"file": "20180628-2.sql", "version": 3},
{"file": "20180702-1.sql", "version": 4},
{"file": "20180706-1.sql", "version": 5},
{"file": "20180710-1.sql", "version": 6}
{"file": "20180710-1.sql", "version": 6},
{"file": "20180711-1.sql", "version": 7}
],
"test": []
}

2
schema/20180711-1.sql Normal file
View File

@ -0,0 +1,2 @@
ALTER TABLE public.commands DROP CONSTRAINT commands_pkey;
ALTER TABLE public.commands ADD CONSTRAINT commands_pkey PRIMARY KEY (cmd, "group");