diff --git a/bin/dbVersion.json b/bin/dbVersion.json index 82b2739..28bacc1 100644 --- a/bin/dbVersion.json +++ b/bin/dbVersion.json @@ -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": [] } \ No newline at end of file diff --git a/schema/20180711-1.sql b/schema/20180711-1.sql new file mode 100644 index 0000000..02d18fe --- /dev/null +++ b/schema/20180711-1.sql @@ -0,0 +1,2 @@ +ALTER TABLE public.commands DROP CONSTRAINT commands_pkey; +ALTER TABLE public.commands ADD CONSTRAINT commands_pkey PRIMARY KEY (cmd, "group"); \ No newline at end of file