diff --git a/ccm-core/sql/ccm-core/default/upgrade/6.6.1-6.6.2/drop_table_webapps.sql b/ccm-core/sql/ccm-core/default/upgrade/6.6.1-6.6.2/drop_table_webapps.sql new file mode 100644 index 000000000..8fca2dccc --- /dev/null +++ b/ccm-core/sql/ccm-core/default/upgrade/6.6.1-6.6.2/drop_table_webapps.sql @@ -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: drop_tables_acs_stylesheets.sql pboy $ + +drop table webapps; diff --git a/ccm-portalworkspace/sql/ccm-portalworkspace/upgrade/default/6.6.0-6.6.1/ren_table_workspaces_1.sql b/ccm-core/sql/ccm-core/upgrade/oracle-se-6.6.1-6.6.2.sql similarity index 58% rename from ccm-portalworkspace/sql/ccm-portalworkspace/upgrade/default/6.6.0-6.6.1/ren_table_workspaces_1.sql rename to ccm-core/sql/ccm-core/upgrade/oracle-se-6.6.1-6.6.2.sql index 6cfb4f153..809d855dd 100644 --- a/ccm-portalworkspace/sql/ccm-portalworkspace/upgrade/default/6.6.0-6.6.1/ren_table_workspaces_1.sql +++ b/ccm-core/sql/ccm-core/upgrade/oracle-se-6.6.1-6.6.2.sql @@ -1,4 +1,6 @@ -- +-- 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 @@ -13,15 +15,10 @@ -- 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_workspaces.sql pboy $ +-- $Id: oracle-se-6.6.0-6.6.1.sql 293 2011-01-07 15:10:39Z pboy $ -ALTER TABLE workspaces drop constraint workspace_workspace_id_p_vm9z2 CASCADE; -ALTER TABLE workspaces drop constraint workspac_defau_layo_id_f_xvb7g; -ALTER TABLE workspaces drop constraint workspace_workspace_id_f_dted3; -ALTER TABLE workspaces drop constraint workspaces_owner_id_f_mbbra; -ALTER TABLE workspaces drop constraint workspaces_party_id_f_jotdd; -ALTER TABLE workspaces drop constraint workspaces_theme_id_f_tpdju; +PROMPT Red Hat Enterprise CORE 6.6.1 -> 6.6.2 Upgrade Script (Oracle) +-- Just delete the table for web.WebApp which is unfinished work -ALTER TABLE workspaces RENAME TO pw_workspaces ; - +@@ ../default/upgrade/6.6.1-6.6.2/drop_table_webapps.sql diff --git a/ccm-core/sql/ccm-core/upgrade/postgres-6.6.1-6.6.2.sql b/ccm-core/sql/ccm-core/upgrade/postgres-6.6.1-6.6.2.sql new file mode 100644 index 000000000..d6d659d11 --- /dev/null +++ b/ccm-core/sql/ccm-core/upgrade/postgres-6.6.1-6.6.2.sql @@ -0,0 +1,28 @@ +-- +-- 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 CORE 6.6.1 -> 6.6.2 Upgrade Script (PostgreSQL) + +-- Just delete the table for web.WebApp which is unfinished work + +begin; + +\i ../default/upgrade/6.6.1-6.6.2/drop_table_webapps.sql + +commit; diff --git a/ccm-core/src/ccm-core.upgrade b/ccm-core/src/ccm-core.upgrade index 58854e366..1805e7fc3 100755 --- a/ccm-core/src/ccm-core.upgrade +++ b/ccm-core/src/ccm-core.upgrade @@ -37,4 +37,7 @@