Author: sevein
Date: Fri Jul 20 13:24:38 2012
New Revision: 11946

Log:
Make sure that we use the property key aipUUID instead of dipUUID. 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    Fri Jul 20 00:02:16 2012        (r11945)
+++ trunk/data/fixtures/settings.yml    Fri Jul 20 13:24:38 2012        (r11946)
@@ -3,7 +3,7 @@
     name: version
     editable: 0
     deleteable: 0
-    value: 87
+    value: 88
   QubitSetting_2:
     name: upload_dir
     editable: 0

Modified: trunk/lib/task/migrate/arUpgrader120.class.php
==============================================================================
--- trunk/lib/task/migrate/arUpgrader120.class.php      Fri Jul 20 00:02:16 
2012        (r11945)
+++ trunk/lib/task/migrate/arUpgrader120.class.php      Fri Jul 20 13:24:38 
2012        (r11946)
@@ -327,6 +327,11 @@
         break;
 
       // Change property name from dipUUID to aipUUID
+      case 87:
+        $sql = 'UPDATE '.QubitProperty::TABLE_NAME.' SET name = "aipUUID" 
WHERE name = "dipUUID"';
+        QubitPdo::modify($sql);
+
+        break;
 
       // Return false if no upgrade available
       default:

-- 
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