diff --git a/ccm-ldn-terms/sql/ccm-ldn-terms/postgres/upgrade/6.5.1-6.5.2/change-unique_id-to-varchar.sql b/ccm-ldn-terms/sql/ccm-ldn-terms/postgres/upgrade/6.5.1-6.5.2/change-unique_id-to-varchar.sql index 165eb6a5a..2443b1744 100644 --- a/ccm-ldn-terms/sql/ccm-ldn-terms/postgres/upgrade/6.5.1-6.5.2/change-unique_id-to-varchar.sql +++ b/ccm-ldn-terms/sql/ccm-ldn-terms/postgres/upgrade/6.5.1-6.5.2/change-unique_id-to-varchar.sql @@ -1,4 +1,4 @@ -alter table trm_terms add (unique_id_string varchar(128) default 'UNKNOWN' not null ); +alter table trm_terms add unique_id_string varchar(128) default 'UNKNOWN' not null; alter table trm_terms rename column unique_id to unique_id_old; alter table trm_terms rename column unique_id_string to unique_id; update trm_terms set unique_id = unique_id_old;