Fix ccm-ldn-terms: Upgrade funktioniert jetzt auch mit Postgres.

git-svn-id: https://svn.libreccm.org/ccm/trunk@246 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2009-08-28 14:19:54 +00:00
parent d0e8e0cb2d
commit 2ad4e16ed9
1 changed files with 1 additions and 1 deletions

View File

@ -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 to unique_id_old;
alter table trm_terms rename column unique_id_string to unique_id; alter table trm_terms rename column unique_id_string to unique_id;
update trm_terms set unique_id = unique_id_old; update trm_terms set unique_id = unique_id_old;