Bug 5436, adding updatedatabase.pl
This commit is contained in:
parent
d50de1f040
commit
8d39d21039
1 changed files with 6 additions and 0 deletions
|
@ -4523,6 +4523,12 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
|||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "3.05.00.XXX";
|
||||
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
||||
$dbh->do("ALTER TABLE borrower_attribute_types ADD COLUMN display_checkout TINYINT(1) NOT NULL DEFAULT '0';");
|
||||
print "Upgrade to $DBversion done (Added a display_checkout field in borrower_attribute_types table)\n";
|
||||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
=head1 FUNCTIONS
|
||||
|
||||
|
|
Loading…
Reference in a new issue