diff --git a/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/upgrade/default/6.6.0-6.6.1/upd_constraints.sql b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/upgrade/default/6.6.0-6.6.1/upd_constraints.sql new file mode 100644 index 000000000..5c88c06fc --- /dev/null +++ b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/upgrade/default/6.6.0-6.6.1/upd_constraints.sql @@ -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_news + ADD CONSTRAINT ct_news_item_id_f_mduh5 FOREIGN KEY (item_id) + REFERENCES cms_articles(article_id); \ No newline at end of file diff --git a/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/upgrade/oracle-se-6.6.0-6.6.1.sql b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/upgrade/oracle-se-6.6.0-6.6.1.sql new file mode 100644 index 000000000..1622bbb11 --- /dev/null +++ b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/upgrade/oracle-se-6.6.0-6.6.1.sql @@ -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 NEWSITEM 6.6.0 -> 6.6.1 Upgrade Script (Oracle) + +@@ ../default/upgrade/6.6.0-6.6.1/upd_constraints.sql diff --git a/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/upgrade/postgres-6.6.0-6.6.1.sql b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/upgrade/postgres-6.6.0-6.6.1.sql new file mode 100644 index 000000000..7d354daf5 --- /dev/null +++ b/ccm-cms-types-newsitem/sql/ccm-cms-types-newsitem/upgrade/postgres-6.6.0-6.6.1.sql @@ -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 NEWSITEM 6.6.0 -> 6.6.1 Upgrade Script (PostgreSQL) + +begin; + +\i ./default/upgrade/6.6.0-6.6.1/upd_constraints.sql + +commit; diff --git a/ccm-cms-types-newsitem/src/ccm-cms-types-newsitem.upgrade b/ccm-cms-types-newsitem/src/ccm-cms-types-newsitem.upgrade new file mode 100644 index 000000000..1eede4cf7 --- /dev/null +++ b/ccm-cms-types-newsitem/src/ccm-cms-types-newsitem.upgrade @@ -0,0 +1,10 @@ + + + +