diff --git a/ccm-cms/sql/ccm-cms/default/upgrade/6.6.7-6.6.8/rename_workspace_to_contentcenter.sql b/ccm-cms/sql/ccm-cms/default/upgrade/6.6.7-6.6.8/rename_workspace_to_contentcenter.sql new file mode 100644 index 000000000..6626bf201 --- /dev/null +++ b/ccm-cms/sql/ccm-cms/default/upgrade/6.6.7-6.6.8/rename_workspace_to_contentcenter.sql @@ -0,0 +1,30 @@ +-- +-- Copyright (C) 2013 Jens Pelzetter 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$ + +-- rename com.arsdigita.cms.Workspace to com.arsdigita.cms.ContentCenter +-- adjust various system tables to the new name of application + +UPDATE application_types + SET object_type = 'com.arsdigita.cms.ContentCenter' + WHERE object_type = 'com.arsdigita.cms.Workspace'; + +UPDATE acs_objects + SET object_type = 'com.arsdigita.cms.ContentCenter', + default_domain_class = 'com.arsdigita.cms.ContentCenter' + WHERE object_type = 'com.arsdigita.cms.Workspace'; \ No newline at end of file diff --git a/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.7-6.6.8.sql b/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.7-6.6.8.sql new file mode 100644 index 000000000..e907e2bda --- /dev/null +++ b/ccm-cms/sql/ccm-cms/upgrade/oracle-se-6.6.7-6.6.8.sql @@ -0,0 +1,23 @@ +-- +-- Copyright (C) 2013 Jens Pelzetter 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$ + +-- Update: Rename com.arsdigta.cms.Workspace to com.arsdigita.cms.ContentCenter +PROMPT Red Hat Enterprise CMS 6.6.7 -> 6.6.8 Upgrade Script (Oracle) + +@@ ../default/upgrade/6.6.7-6.6.8/rename_workspace_to_contentcenter.sql \ No newline at end of file diff --git a/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.7-6.6.8.sql b/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.7-6.6.8.sql new file mode 100644 index 000000000..6fb0e9da5 --- /dev/null +++ b/ccm-cms/sql/ccm-cms/upgrade/postgres-6.6.7-6.6.8.sql @@ -0,0 +1,28 @@ +-- +-- Copyright (C) 2013 Jens Pelzetter 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$ +-- $Id$ + +-- Update: Rename com.arsdigta.cms.Workspace to com.arsdigita.cms.ContentCenter +\echo Red Hat Enterprise CMS 6.6.7 -> 6.6.8 Upgrade Script (PostgreSQL) + +begin; + +\i ../default/upgrade/6.6.7-6.6.8/rename_workspace_to_contentcenter.sql + +commit; \ No newline at end of file diff --git a/ccm-cms/src/ccm-cms.upgrade b/ccm-cms/src/ccm-cms.upgrade index 9cc799531..a4c415489 100755 --- a/ccm-cms/src/ccm-cms.upgrade +++ b/ccm-cms/src/ccm-cms.upgrade @@ -62,4 +62,8 @@