Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
SetVersion ($DBversion);
}
+$DBversion = "3.00.00.024";
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+ $dbh->do("ALTER TABLE biblioitems CHANGE itemtype itemtype VARCHAR(10)");
+ print "Upgrade to $DBversion done (changing itemtype to (10))\n";
+ SetVersion ($DBversion);
+}
+
+
=item DropAllForeignKeys($table)
Drop all foreign keys of the table $table