UPDATE script for ccm type article: 6.6.0 -> 6.6.1. MUST RUN after ccm-cms update!

git-svn-id: https://svn.libreccm.org/ccm/trunk@690 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2011-01-19 02:09:43 +00:00
parent 2ec26dcb31
commit 91ce336323
4 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,22 @@
--
-- 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_ct_articles.sql pboy $
-- recreate constraint on cms_articles which had to be deleted during
-- update of cms_articles
ALTER TABLE ct_articles
ADD CONSTRAINT ct_articles_item_id_f_6ofn1 FOREIGN KEY (item_id)
REFERENCES cms_articles(article_id);

View File

@ -0,0 +1,22 @@
--
-- Copyright (C) 2008 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.0-6.6.1.sql 293 2011-01-07 15:10:39Z pboy $
PROMPT Red Hat Enterprise CT ARTICLE 6.6.0 -> 6.6.1 Upgrade Script (Oracle)
@@ ./default/6.6.0-6.6.1/upd_table_ct_articles.sql

View File

@ -0,0 +1,26 @@
--
-- Copyright (C) 2008 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: 2010/11/10 23:15:09 $
\echo Red Hat Enterprise CT ARTICLE 6.6.0 -> 6.6.1 Upgrade Script (PostgreSQL)
begin;
\i ./default/6.6.0-6.6.1/upd_table_ct_articles.sql
commit;

View File

@ -0,0 +1,10 @@
<upgrade>
<version from="6.6.0" to="6.6.1">
<script sql="ccm-cms-types-article/upgrade/::database::-6.6.0-6.6.1.sql"/>
<!-- (just for easy reference in copy'nd'past programming :-) )
<script class="com.arsdigita.cms.upgrade.CreateGenericContentTypes"/>
-->
</version>
</upgrade>