diff --git a/updater/updatedatabase b/updater/updatedatabase index 6a636593dc..cae90eef0a 100755 --- a/updater/updatedatabase +++ b/updater/updatedatabase @@ -568,6 +568,14 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { 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