Adding an index on language_descriptions table in order to boost searches
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
SetVersion ($DBversion);
}
+$DBversion = "3.01.00.132";
+#3.02.00.023
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+ $dbh->do(q{
+ ALTER TABLE language_descriptions ADD INDEX LANG (subtag, type, lang);
+ });
+ print "Upgrade to $DBversion done (Adding index to language_descriptions table)\n";
+ SetVersion ($DBversion);
+}
+
=item DropAllForeignKeys($table)
use strict;
sub kohaversion {
- our $VERSION = '3.01.00.131';
+ our $VERSION = '3.01.00.132';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install