Fix ccm-ldn-terms: Upgrade funktioniert jetzt auch mit Postgres.
git-svn-id: https://svn.libreccm.org/ccm/trunk@246 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
d0e8e0cb2d
commit
2ad4e16ed9
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue