Author: scottbw
Date: Fri Jun 15 13:26:26 2012
New Revision: 1350612
URL: http://svn.apache.org/viewvc?rev=1350612&view=rev
Log:
Updated UPGRADING and added a mysql migration script
Added:
incubator/wookie/trunk/scripts/migration/0.10.0-to-0.11.0/
incubator/wookie/trunk/scripts/migration/0.10.0-to-0.11.0/mysql.sql
Modified:
incubator/wookie/trunk/UPGRADING
Modified: incubator/wookie/trunk/UPGRADING
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/UPGRADING?rev=1350612&r1=1350611&r2=1350612&view=diff
==============================================================================
--- incubator/wookie/trunk/UPGRADING (original)
+++ incubator/wookie/trunk/UPGRADING Fri Jun 15 13:26:26 2012
@@ -1,6 +1,13 @@
This document details any special actions that need to be taken when upgrading
Wookie from a previous version. For
general information on new features and improvements, see NEW_AND_NOTEWORTHY.
+FROM 0.10.0 TO 0.11.0
+=====================
+Participants now have a role attribute to support the getHost() method in
shared widgets.
+
+Scripts for migrating databases to 0.11.0 can be found in /scripts/migration.
+
+
FROM 0.9.2 TO 0.10.0
====================
Added: incubator/wookie/trunk/scripts/migration/0.10.0-to-0.11.0/mysql.sql
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/scripts/migration/0.10.0-to-0.11.0/mysql.sql?rev=1350612&view=auto
==============================================================================
--- incubator/wookie/trunk/scripts/migration/0.10.0-to-0.11.0/mysql.sql (added)
+++ incubator/wookie/trunk/scripts/migration/0.10.0-to-0.11.0/mysql.sql Fri Jun
15 13:26:26 2012
@@ -0,0 +1,27 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+#
+# MySQL5 database migration script for Apache Wookie (incubating) 0.11.0
+#
+# This script updates a database created with version 0.10.0 of Wookie
+# to work with version 0.11.0. Always use a clone of your database and not the
+# live version when performing migration.
+#
+
+# -----------------------------------------------------------------------
+# Roles for participants have been introduced
+#
+# -----------------------------------------------------------------------
+ALTER TABLE Participant ADD COLUMN role VARCHAR(255) NULL;