diff --git a/ccm-cms-types-article/sql/ccm-cms-types-article/upgrade/default/6.6.0-6.6.1/upd_table_ct_articles.sql b/ccm-cms-types-article/sql/ccm-cms-types-article/upgrade/default/6.6.0-6.6.1/upd_table_ct_articles.sql new file mode 100644 index 000000000..e6e408637 --- /dev/null +++ b/ccm-cms-types-article/sql/ccm-cms-types-article/upgrade/default/6.6.0-6.6.1/upd_table_ct_articles.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_articles + ADD CONSTRAINT ct_articles_item_id_f_6ofn1 FOREIGN KEY (item_id) + REFERENCES cms_articles(article_id); \ No newline at end of file diff --git a/ccm-cms-types-article/sql/ccm-cms-types-article/upgrade/oracle-se-6.6.0-6.6.1.sql b/ccm-cms-types-article/sql/ccm-cms-types-article/upgrade/oracle-se-6.6.0-6.6.1.sql new file mode 100644 index 000000000..8439edd58 --- /dev/null +++ b/ccm-cms-types-article/sql/ccm-cms-types-article/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 ARTICLE 6.6.0 -> 6.6.1 Upgrade Script (Oracle) + +@@ ./default/6.6.0-6.6.1/upd_table_ct_articles.sql diff --git a/ccm-cms-types-article/sql/ccm-cms-types-article/upgrade/postgres-6.6.0-6.6.1.sql b/ccm-cms-types-article/sql/ccm-cms-types-article/upgrade/postgres-6.6.0-6.6.1.sql new file mode 100644 index 000000000..e277c4ffa --- /dev/null +++ b/ccm-cms-types-article/sql/ccm-cms-types-article/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 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; diff --git a/ccm-cms-types-article/src/ccm-cms-types-article.upgrade b/ccm-cms-types-article/src/ccm-cms-types-article.upgrade new file mode 100644 index 000000000..6d033c355 --- /dev/null +++ b/ccm-cms-types-article/src/ccm-cms-types-article.upgrade @@ -0,0 +1,10 @@ + + + +