Bug 19482: DBRev 20.06.00.059
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
dcbc856b60
commit
657df01fec
3 changed files with 11 additions and 11 deletions
2
Koha.pm
2
Koha.pm
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
||||||
# - #4 : the developer version. The 4th number is the database subversion.
|
# - #4 : the developer version. The 4th number is the database subversion.
|
||||||
# used by developers when the database changes. updatedatabase take care of the changes itself
|
# used by developers when the database changes. updatedatabase take care of the changes itself
|
||||||
# and is automatically called by Auth.pm when needed.
|
# and is automatically called by Auth.pm when needed.
|
||||||
$VERSION = "20.06.00.058";
|
$VERSION = "20.06.00.059";
|
||||||
|
|
||||||
sub version {
|
sub version {
|
||||||
return $VERSION;
|
return $VERSION;
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
$DBversion = 'XXX'; # will be replaced by the RM
|
|
||||||
if( CheckVersion( $DBversion ) ) {
|
|
||||||
|
|
||||||
if( !column_exists( 'search_field', 'mandatory' ) ) {
|
|
||||||
$dbh->do( "ALTER TABLE search_field ADD COLUMN mandatory tinyint(1) NULL DEFAULT NULL AFTER opac" );
|
|
||||||
}
|
|
||||||
|
|
||||||
SetVersion( $DBversion );
|
|
||||||
print "Upgrade to $DBversion done (Bug 19482 - Add mandatory column to search_field for ES mapping)\n";
|
|
||||||
}
|
|
|
@ -23183,6 +23183,16 @@ if( CheckVersion( $DBversion ) ) {
|
||||||
NewVersion( $DBversion, 25333, q{Change message transport type for Talking Tech from "phone" to "itiva"});
|
NewVersion( $DBversion, 25333, q{Change message transport type for Talking Tech from "phone" to "itiva"});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$DBversion = '20.06.00.059';
|
||||||
|
if( CheckVersion( $DBversion ) ) {
|
||||||
|
|
||||||
|
if( !column_exists( 'search_field', 'mandatory' ) ) {
|
||||||
|
$dbh->do( "ALTER TABLE search_field ADD COLUMN mandatory tinyint(1) NULL DEFAULT NULL AFTER opac" );
|
||||||
|
}
|
||||||
|
|
||||||
|
NewVersion( $DBversion, 19482, "Add mandatory column to search_field for ES mapping" );
|
||||||
|
}
|
||||||
|
|
||||||
# SEE bug 13068
|
# SEE bug 13068
|
||||||
# if there is anything in the atomicupdate, read and execute it.
|
# if there is anything in the atomicupdate, read and execute it.
|
||||||
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';
|
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';
|
||||||
|
|
Loading…
Reference in a new issue