Yet another Oracle/PostgreSQL incombatibility, this time in ccm-cms-6.6.7-6.6.8

git-svn-id: https://svn.libreccm.org/ccm/trunk@3041 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-12-12 15:04:48 +00:00
parent 65405f1f7d
commit 91f6472c15
5 changed files with 25 additions and 2 deletions

View File

@ -36,6 +36,7 @@ delete from object_context
-- delete from acs_objects all entries referring to node_id in site_nodes -- 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 ; alter table site_nodes drop constraint site_nodes_node_id_f_n1m2y ;
delete from acs_objects delete from acs_objects
where object_id in where object_id in
(select node_id from site_nodes where object_id in (select node_id from site_nodes where object_id in

View File

@ -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;

View File

@ -21,5 +21,5 @@
PROMPT Red Hat Enterprise CMS 6.6.7 -> 6.6.8 Upgrade Script (Oracle) 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/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 @@ ../oracle-se/upgrade/6.6.7-6.6.8/set_singleton.sql

View File

@ -24,7 +24,7 @@
begin; begin;
\i ../default/upgrade/6.6.7-6.6.8/rename_workspace_to_contentcenter.sql \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 \i ../postgres/upgrade/6.6.7-6.6.8/set_singleton.sql
commit; commit;