bug 2504: switch version number in HEAD to 3.1
[koha-ffzg.git] / installer / data / mysql / updatedatabase.pl
index 59ef43c..042a80b 100755 (executable)
@@ -1961,6 +1961,12 @@ END_SQL
     SetVersion ($DBversion);
 }
 
+$DBversion = '3.01.00.000';
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+    print "Upgrade to $DBversion done (start of 3.1)\n";
+    SetVersion ($DBversion);
+}
+
 =item DropAllForeignKeys($table)
 
   Drop all foreign keys of the table $table