Bug 4078: DBRev 17.12.00.022
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
f2cf899a90
commit
c40e07d6a6
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.
|
||||
# used by developers when the database changes. updatedatabase take care of the changes itself
|
||||
# and is automatically called by Auth.pm when needed.
|
||||
$VERSION = "17.12.00.021";
|
||||
$VERSION = "17.12.00.022";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
if( !column_exists( 'currency', 'p_sep_by_space' ) ) {
|
||||
$dbh->do( "ALTER TABLE currency ADD COLUMN p_sep_by_space tinyint(1) default 0 after archived" );
|
||||
}
|
||||
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 4078: Add column currency.p_sep_by_space)\n";
|
||||
}
|
||||
|
|
@ -15613,6 +15613,19 @@ if( CheckVersion( $DBversion ) ) {
|
|||
print "Upgrade to $DBversion done (Bug 13287 - Add system preference PurgeSuggestionsOlderThan)\n";
|
||||
}
|
||||
|
||||
$DBversion = '17.12.00.022';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
|
||||
if( !column_exists( 'currency', 'p_sep_by_space' ) ) {
|
||||
$dbh->do(q|
|
||||
ALTER TABLE currency ADD COLUMN p_sep_by_space tinyint(1) default 0 after archived
|
||||
|);
|
||||
}
|
||||
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 4078 - Add column currency.p_sep_by_space)\n";
|
||||
}
|
||||
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue