Skip to content

Commit 8cf993f

Browse files
committed
fix missing semicolon
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
1 parent e6ba9a1 commit 8cf993f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/cortex/migrations/002_immutable_configs.up.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
-- https://github.com/mattes/migrate/tree/master/database/postgres#upgrading-from-v1
66
-- Wrap all commands in BEGIN and COMMIT to accomadate upgrade
7-
BEGIN
7+
BEGIN;
88

99
-- The existing id, type columns are the id & type of the entity that owns the
1010
-- config.
@@ -17,4 +17,4 @@ ALTER TABLE configs ADD COLUMN id SERIAL;
1717
ALTER TABLE configs DROP CONSTRAINT configs_pkey;
1818
ALTER TABLE configs ADD PRIMARY KEY (id, owner_id, owner_type, subsystem);
1919

20-
COMMIT
20+
COMMIT;

0 commit comments

Comments
 (0)