From ed91e6c2a65652c9b70a99323365dffb0dd54b5e Mon Sep 17 00:00:00 2001 From: jensp Date: Fri, 12 Dec 2014 19:00:55 +0000 Subject: [PATCH] Fix for ccm-cms-6.6.10-6.6.11 to make it work with Oracle. git-svn-id: https://svn.libreccm.org/ccm/trunk@3045 8810af33-2d31-482b-a856-94f89814c4df --- ...add_cms_publish_lock_stacktrace_column.sql | 23 +++++++++++++++++++ ...add_cms_publish_lock_stacktrace_column.sql | 0 .../upgrade/oracle-se-6.6.10-6.6.11.sql | 3 +-- .../upgrade/postgres-6.6.10-6.6.11.sql | 3 +-- 4 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 ccm-cms/sql/ccm-cms/oracle-se/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql rename ccm-cms/sql/ccm-cms/{default => postgres}/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql (100%) diff --git a/ccm-cms/sql/ccm-cms/oracle-se/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql b/ccm-cms/sql/ccm-cms/oracle-se/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql new file mode 100644 index 000000000..735985e2b --- /dev/null +++ b/ccm-cms/sql/ccm-cms/oracle-se/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql @@ -0,0 +1,23 @@ +-- +-- Copyright (C) 2014 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 stacktrace column to the cms_publish_lock table, allowing easier analysis of problems +-- with the publication process + +ALTER TABLE cms_publish_lock ADD stacktrace CLOB; \ No newline at end of file diff --git a/ccm-cms/sql/ccm-cms/default/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql b/ccm-cms/sql/ccm-cms/postgres/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql similarity index 100% rename from ccm-cms/sql/ccm-cms/default/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql rename to ccm-cms/sql/ccm-cms/postgres/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql diff --git a/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.10-6.6.11.sql b/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.10-6.6.11.sql index 0d676aae9..2be82d435 100644 --- a/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.10-6.6.11.sql +++ b/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.10-6.6.11.sql @@ -17,7 +17,6 @@ -- -- $Id$ --- Update: Rename com.arsdigta.cms.Workspace to com.arsdigita.cms.ContentCenter PROMPT Red Hat Enterprise CMS 6.6.10 -> 6.6.11 Upgrade Script (Oracle) -@@ ../default/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql +@@ ../oracle-se/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql diff --git a/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.10-6.6.11.sql b/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.10-6.6.11.sql index 6ac07d895..090a30421 100644 --- a/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.10-6.6.11.sql +++ b/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.10-6.6.11.sql @@ -18,11 +18,10 @@ -- $DateTime$ -- $Id$ --- Update: Rename com.arsdigta.cms.Workspace to com.arsdigita.cms.ContentCenter \echo Red Hat Enterprise CMS 6.6.10 -> 6.6.11 Upgrade Script (PostgreSQL) begin; -\i ../default/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql +\i ../postgres/upgrade/6.6.10-6.6.11/add_cms_publish_lock_stacktrace_column.sql commit; \ No newline at end of file