Lines 5146-5151
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
Link Here
|
5146 |
SetVersion($DBversion); |
5146 |
SetVersion($DBversion); |
5147 |
} |
5147 |
} |
5148 |
|
5148 |
|
|
|
5149 |
$DBversion = "3.07.00.XXX"; |
5150 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
5151 |
$dbh->do("CREATE INDEX items_location ON items(location)"); |
5152 |
$dbh->do("CREATE INDEX items_ccode ON items(ccode)"); |
5153 |
print "Upgrade to $DBversion done (items_location and items_ccode indexes added for ShelfBrowser)"; |
5154 |
SetVersion($DBversion); |
5155 |
} |
5156 |
|
5149 |
=head1 FUNCTIONS |
5157 |
=head1 FUNCTIONS |
5150 |
|
5158 |
|
5151 |
=head2 DropAllForeignKeys($table) |
5159 |
=head2 DropAllForeignKeys($table) |
5152 |
- |
|
|