Author: sevein
Date: Mon Jul 23 10:00:31 2012
New Revision: 11960

Log:
Keep db schema according to r10747, bump db version

Modified:
   trunk/data/fixtures/settings.yml
   trunk/lib/task/migrate/arUpgrader120.class.php

Modified: trunk/data/fixtures/settings.yml
==============================================================================
--- trunk/data/fixtures/settings.yml    Mon Jul 23 09:49:36 2012        (r11959)
+++ trunk/data/fixtures/settings.yml    Mon Jul 23 10:00:31 2012        (r11960)
@@ -3,7 +3,7 @@
     name: version
     editable: 0
     deleteable: 0
-    value: 88
+    value: 89
   QubitSetting_2:
     name: upload_dir
     editable: 0

Modified: trunk/lib/task/migrate/arUpgrader120.class.php
==============================================================================
--- trunk/lib/task/migrate/arUpgrader120.class.php      Mon Jul 23 09:49:36 
2012        (r11959)
+++ trunk/lib/task/migrate/arUpgrader120.class.php      Mon Jul 23 10:00:31 
2012        (r11960)
@@ -331,6 +331,11 @@
         $sql = 'UPDATE '.QubitProperty::TABLE_NAME.' SET name = "aipUUID" 
WHERE name = "dipUUID"';
         QubitPdo::modify($sql);
 
+      // According to r10747, keymap.source_id changed from INTEGER to TEXT
+      case 88:
+        $sql = 'ALTER TABLE '.QubitKeymap::TABLE_NAME.' CHANGE source_id 
source_id TEXT';
+        QubitPdo::modify($sql);
+
         break;
 
       // Return false if no upgrade available

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to