diff --git a/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/6.6.1-6.6.2/add_siteproxyprovider_inits.sql b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/6.6.1-6.6.2/add_siteproxyprovider_inits.sql new file mode 100644 index 000000000..525fbe0d4 --- /dev/null +++ b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/6.6.1-6.6.2/add_siteproxyprovider_inits.sql @@ -0,0 +1,36 @@ +-- +-- Copyright (C) 2012 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: add_siteproxyprovider_inits.sql pboy $ + +-- With this update the package ccm-atoz has been divided into a vore atoz +-- package and optional extensions, e.g. this siteproxy extension. +-- Therefore, in an update situation where atoz is already installed, all +-- tables exists and we must just added Initializer to the startup. + + +INSERT INTO inits (class_name) + VALUES ('com.arsdigita.atoz.siteproxy.Initializer') ; + +INSERT INTO init_requirements (required_init, init) + VALUES ('com.arsdigita.atoz.Initializer', + 'com.arsdigita.atoz.siteproxy.Initializer') ; + +INSERT INTO init_requirements (required_init, init) + VALUES ('com.arsdigita.core.Initializer', + 'com.arsdigita.atoz.siteproxy.Initializer') ; + diff --git a/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/oracle-se-6.6.1-6.6.2.sql b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/oracle-se-6.6.1-6.6.2.sql new file mode 100644 index 000000000..18eb03b84 --- /dev/null +++ b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/oracle-se-6.6.1-6.6.2.sql @@ -0,0 +1,26 @@ +-- +-- Copyright (C) 2012 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.1-6.6.2.sql $ + +-- With this update the package ccm-atoz has been divided into a vore atoz +-- package and optional extensions, e.g. this siteproxy extension. +-- Therefore, in an update situation where atoz is already installed, all +-- tables exists and we must just added Initializer to the startup. + +@@ default/6.6.1-6.6.2/add_siteproxyprovider_inits.sql + diff --git a/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/postgres-6.6.1-6.6.2.sql b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/postgres-6.6.1-6.6.2.sql new file mode 100644 index 000000000..1c47f67f2 --- /dev/null +++ b/ccm-atoz-siteproxy/sql/ccm-atoz-siteproxy/upgrade/postgres-6.6.1-6.6.2.sql @@ -0,0 +1,30 @@ +-- +-- Copyright (C) 2012 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: postgres-6.6.1-6.6.2.sql $ + +-- With this update the package ccm-atoz has been divided into a vore atoz +-- package and optional extensions, e.g. this siteproxy extension. +-- Therefore, in an update situation where atoz is already installed, all +-- tables exists and we must just added Initializer to the startup. + + +begin; + +\i default/6.6.1-6.6.2/add_siteproxyprovider_inits.sql + +commit; diff --git a/ccm-atoz-siteproxy/src/ccm-atoz-siteproxy.upgrade b/ccm-atoz-siteproxy/src/ccm-atoz-siteproxy.upgrade index e96ac28ef..75ea954d2 100755 --- a/ccm-atoz-siteproxy/src/ccm-atoz-siteproxy.upgrade +++ b/ccm-atoz-siteproxy/src/ccm-atoz-siteproxy.upgrade @@ -1,8 +1,6 @@ - -