diff --git a/ccm-cms/sql/ccm-cms/default/upgrade/6.6.5-6.6.6/remove_legacy_entries.sql b/ccm-cms/sql/ccm-cms/default/upgrade/6.6.5-6.6.6/remove_legacy_entries.sql index 9a11bd3dd..494cf47dd 100644 --- a/ccm-cms/sql/ccm-cms/default/upgrade/6.6.5-6.6.6/remove_legacy_entries.sql +++ b/ccm-cms/sql/ccm-cms/default/upgrade/6.6.5-6.6.6/remove_legacy_entries.sql @@ -36,6 +36,7 @@ delete from object_context -- delete from acs_objects all entries referring to node_id in site_nodes alter table site_nodes drop constraint site_nodes_node_id_f_n1m2y ; + delete from acs_objects where object_id in (select node_id from site_nodes where object_id in diff --git a/ccm-cms/sql/ccm-cms/oracle-se/upgrade/6.6.7-6.6.8/add_personsstr_column.sql b/ccm-cms/sql/ccm-cms/oracle-se/upgrade/6.6.7-6.6.8/add_personsstr_column.sql new file mode 100644 index 000000000..f510d4135 --- /dev/null +++ b/ccm-cms/sql/ccm-cms/oracle-se/upgrade/6.6.7-6.6.8/add_personsstr_column.sql @@ -0,0 +1,22 @@ +-- +-- Copyright (C) 2013 Jens Pelzetter 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$ + +-- adds to personsstr column (used for filtering organization by their members) + +ALTER TABLE cms_orgaunits ADD personsstr CLOB; \ No newline at end of file diff --git a/ccm-cms/sql/ccm-cms/default/upgrade/6.6.7-6.6.8/add_personsstr_column.sql b/ccm-cms/sql/ccm-cms/postgres/upgrade/6.6.7-6.6.8/add_personsstr_column.sql similarity index 100% rename from ccm-cms/sql/ccm-cms/default/upgrade/6.6.7-6.6.8/add_personsstr_column.sql rename to ccm-cms/sql/ccm-cms/postgres/upgrade/6.6.7-6.6.8/add_personsstr_column.sql diff --git a/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.7-6.6.8.sql b/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.7-6.6.8.sql index 59c6f78bc..243b6d8ee 100644 --- a/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.7-6.6.8.sql +++ b/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.7-6.6.8.sql @@ -21,5 +21,5 @@ PROMPT Red Hat Enterprise CMS 6.6.7 -> 6.6.8 Upgrade Script (Oracle) @@ ../default/upgrade/6.6.7-6.6.8/rename_workspace_to_contentcenter.sql -@@ ../default/upgrade/6.6.7-6.6.8/add_personsstr_column.sql +@@ ../oracle-se/upgrade/6.6.7-6.6.8/add_personsstr_column.sql @@ ../oracle-se/upgrade/6.6.7-6.6.8/set_singleton.sql \ No newline at end of file diff --git a/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.7-6.6.8.sql b/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.7-6.6.8.sql index 4269fea56..7339d7714 100644 --- a/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.7-6.6.8.sql +++ b/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.7-6.6.8.sql @@ -24,7 +24,7 @@ begin; \i ../default/upgrade/6.6.7-6.6.8/rename_workspace_to_contentcenter.sql -\i ../default/upgrade/6.6.7-6.6.8/add_personsstr_column.sql +\i ../postgres/upgrade/6.6.7-6.6.8/add_personsstr_column.sql \i ../postgres/upgrade/6.6.7-6.6.8/set_singleton.sql commit; \ No newline at end of file