From 79fef09b0c5818671de73162dac9015d72d1ad0f Mon Sep 17 00:00:00 2001 From: Guillaume Heurtier <guillaume.heurtier@maarch.org> Date: Thu, 13 Feb 2020 15:22:08 +0100 Subject: [PATCH] FEAT #12471 TIME 0:20 fix migration tags --- migration/20.03/2003.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/20.03/2003.sql b/migration/20.03/2003.sql index abf3c1b5827..03987e3172d 100644 --- a/migration/20.03/2003.sql +++ b/migration/20.03/2003.sql @@ -236,7 +236,7 @@ DO $$ BEGIN ALTER TABLE tags ADD COLUMN id serial NOT NULL; UPDATE tags SET id = tag_id; ALTER TABLE tags DROP COLUMN IF EXISTS tag_id; - ALTER TABLE tags DROP COLUMN IF EXISTS entity_id_owner + ALTER TABLE tags DROP COLUMN IF EXISTS entity_id_owner; ALTER TABLE tags DROP COLUMN IF EXISTS description; ALTER TABLE tags ADD COLUMN description TEXT; ALTER TABLE tags DROP COLUMN IF EXISTS parent_id; -- GitLab