Fixed another compatibility problem with Oracle in ccm-cms-6.6.0-6.6.1. Oracle does not support the bytea type, instead a Blob is used in Oracle.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3038 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-12-12 10:53:59 +00:00
parent 224902b916
commit a44f30fef8
5 changed files with 22 additions and 3 deletions

View File

@ -15,7 +15,8 @@
--
-- $Id: upd_table_cms_related_links.sql $
ALTER TABLE cms_related_link ADD link_list_name VARCHAR(100)
-- Column is created by ccm-cms-6.6.0-6.6.1
-- ALTER TABLE cms_related_link ADD link_list_name VARCHAR(100)
UPDATE cms_related_links
SET link_list_name = 'NONE'

View File

@ -0,0 +1,18 @@
--
-- 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_cms_publ_links.sql pboy $
alter table cms_published_links add link_attributes BLOB;

View File

@ -24,7 +24,7 @@ PROMPT Red Hat Enterprise CMS 6.6.0 -> 6.6.1 Upgrade Script (Oracle)
@@ ../default/upgrade/6.6.0-6.6.1/add_tables_cms_persons.sql
@@ ../default/upgrade/6.6.0-6.6.1/add_tables_cms_organisation.sql
@@ ../default/upgrade/6.6.0-6.6.1/add_table_cms_rel_attr.sql
@@ ../default/upgrade/6.6.0-6.6.1/upd_table_cms_publ_links.sql
@@ ../oracle-se/upgrade/6.6.0-6.6.1/upd_table_cms_publ_links.sql
@@ ../default/upgrade/6.6.0-6.6.1/upd_table_cms_rel_links.sql
@@ ../default/upgrade/6.6.0-6.6.1/upd_table_content_types.sql
@@ ../default/upgrade/6.6.0-6.6.1/drop_table_cms_article_image_map.sql

View File

@ -26,7 +26,7 @@ begin;
\i ../default/upgrade/6.6.0-6.6.1/add_tables_cms_persons.sql
\i ../default/upgrade/6.6.0-6.6.1/add_tables_cms_organisation.sql
\i ../default/upgrade/6.6.0-6.6.1/add_table_cms_rel_attr.sql
\i ../default/upgrade/6.6.0-6.6.1/upd_table_cms_publ_links.sql
\i ../postgres/upgrade/6.6.0-6.6.1/upd_table_cms_publ_links.sql
\i ../default/upgrade/6.6.0-6.6.1/upd_table_cms_rel_links.sql
\i ../default/upgrade/6.6.0-6.6.1/upd_table_content_types.sql
\i ../default/upgrade/6.6.0-6.6.1/drop_table_cms_article_image_map.sql