) ENGINE=InnoDB DEFAULT CHARSET=utf8");
SetVersion ($DBversion);
}
+
+$DBversion = "3.00.00.014";
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+ $dbh->do("ALTER TABLE subscription ADD lastbranch VARCHAR(4)");
+ print "Upgrade to $DBversion done (userid index added)\n";
+ SetVersion ($DBversion);
+}
+
=item DropAllForeignKeys($table)
Drop all foreign keys of the table $table