Bug 22273: DBRev 19.11.04.002
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
parent
116abbc530
commit
21d9aa62a3
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 = "19.11.04.001";
|
||||
$VERSION = "19.11.04.0022";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do( q|
|
||||
ALTER TABLE article_requests MODIFY COLUMN created_on timestamp NULL, MODIFY COLUMN updated_on timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
|
||||
|);
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 22273: Column article_requests.created_on should not be updated)\n";
|
||||
}
|
||||
|
|
@ -20460,6 +20460,17 @@ if( CheckVersion( $DBversion ) ) {
|
|||
print "Upgrade to $DBversion done (Bug 24103 - add DumpSearchQueryTemplate syspref)\n";
|
||||
}
|
||||
|
||||
$DBversion = '19.11.04.002';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do( q|
|
||||
ALTER TABLE article_requests
|
||||
MODIFY COLUMN created_on timestamp NULL,
|
||||
MODIFY COLUMN updated_on timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
|
||||
|);
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 22273: Column article_requests.created_on should not be updated)\n";
|
||||
}
|
||||
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';
|
||||
|
|
|
|||
Loading…
Reference in New Issue