From 1719cd812e69149eea56179cd2ae50774ceb4043 Mon Sep 17 00:00:00 2001 From: Florian Azizian <florian.azizian@maarch.org> Date: Thu, 9 Apr 2015 09:37:26 +0000 Subject: [PATCH] FEAT #1994 drop before add --- core/trunk/sql/150.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/trunk/sql/150.sql b/core/trunk/sql/150.sql index 2b05ed14fa9..706b34c2b54 100644 --- a/core/trunk/sql/150.sql +++ b/core/trunk/sql/150.sql @@ -241,6 +241,8 @@ ALTER TABLE listinstance DROP COLUMN IF EXISTS process_comment; ALTER TABLE listinstance ADD process_comment character varying(255); ALTER TABLE listmodels RENAME COLUMN description to title; + +ALTER TABLE listmodels DROP COLUMN IF EXISTS description; ALTER TABLE listmodels ADD COLUMN description varchar(255); DROP TABLE IF EXISTS listinstance_history; -- GitLab