From de5973956698cbb659e91ad7e2eec91d05428515 Mon Sep 17 00:00:00 2001 From: pb Date: Wed, 7 Sep 2011 06:05:32 +0000 Subject: [PATCH] =?UTF-8?q?Update=20Script=20ccm-cms=20zu=20r1081,=20Korre?= =?UTF-8?q?ktur=20einer=20versehentlich=20gel=C3=B6schten=20Zeile=20im=20B?= =?UTF-8?q?uild=20Script.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@1102 8810af33-2d31-482b-a856-94f89814c4df --- ccm-cms/application.xml | 2 +- .../upgrade/6.6.2-6.6.3/upd_table_persons.sql | 28 +++++++++++++++++ .../ccm-cms/upgrade/oracle-se-6.6.2-6.6.3.sql | 26 ++++++++++++++++ .../ccm-cms/upgrade/postgres-6.6.2-6.6.3.sql | 30 +++++++++++++++++++ ccm-cms/src/ccm-cms.upgrade | 5 +++- tools-ng/ecdc/scriptlib/build-ccm.xml | 1 + 6 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 ccm-cms/sql/ccm-cms/default/upgrade/6.6.2-6.6.3/upd_table_persons.sql create mode 100644 ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.2-6.6.3.sql create mode 100644 ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.2-6.6.3.sql diff --git a/ccm-cms/application.xml b/ccm-cms/application.xml index e64975da0..ad7962cd2 100755 --- a/ccm-cms/application.xml +++ b/ccm-cms/application.xml @@ -2,7 +2,7 @@ diff --git a/ccm-cms/sql/ccm-cms/default/upgrade/6.6.2-6.6.3/upd_table_persons.sql b/ccm-cms/sql/ccm-cms/default/upgrade/6.6.2-6.6.3/upd_table_persons.sql new file mode 100644 index 000000000..fe88aa720 --- /dev/null +++ b/ccm-cms/sql/ccm-cms/default/upgrade/6.6.2-6.6.3/upd_table_persons.sql @@ -0,0 +1,28 @@ +-- +-- Copyright (C) 2011 Peter Boy All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $Id: upd_table_persons.sql pboy $ + +-- This update is only applicable for the internal development tree at +-- University of Bremen ! Don't use for the APLAWS main trunk on +-- fedorahosted! + +ALTER TABLE cms_persons + ADD COLUMN dabinId INTEGER; + +ALTER TABLE cms_persons + ADD COLUMN aliasId INTEGER REFERNCES cms_persons; diff --git a/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.2-6.6.3.sql b/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.2-6.6.3.sql new file mode 100644 index 000000000..25e03ea79 --- /dev/null +++ b/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.2-6.6.3.sql @@ -0,0 +1,26 @@ +-- +-- Copyright (C) 2011 Peter Boy All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $Id: oracle-se-6.6.2-6.6.3.sql 2011-09-06 15:10:39Z pboy $ + +-- This update is only applicable for the internal development tree at +-- University of Bremen ! Don't use for the APLAWS main trunk on +-- fedorahosted! + +PROMPT Red Hat Enterprise CMS 6.6.2 -> 6.6.3 Upgrade Script (Oracle) + +@@ ../default/upgrade/6.6.2-6.6.3/upd_table_persons.sql diff --git a/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.2-6.6.3.sql b/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.2-6.6.3.sql new file mode 100644 index 000000000..5041494ef --- /dev/null +++ b/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.2-6.6.3.sql @@ -0,0 +1,30 @@ +-- +-- Copyright (C) 2011 Peter Boy All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $DateTime: 2011/09/06 23:15:09 $ + +-- This update is only applicable for the internal development tree at +-- University of Bremen ! Don't use for the APLAWS main trunk on +-- fedorahosted! + +\echo Red Hat Enterprise CMS 6.6.2 -> 6.6.3 Upgrade Script (PostgreSQL) + +begin; + +\i ../default/upgrade/6.6.2-6.6.3/upd_table_persons.sql + +commit; diff --git a/ccm-cms/src/ccm-cms.upgrade b/ccm-cms/src/ccm-cms.upgrade index 9b2eb2fdc..0c67c000a 100755 --- a/ccm-cms/src/ccm-cms.upgrade +++ b/ccm-cms/src/ccm-cms.upgrade @@ -1,5 +1,4 @@ -