Bug 24640: DBRev 19.12.00.023
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
9446b894b8
commit
d0a8df6214
4 changed files with 13 additions and 12 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 = "19.12.00.022";
|
$VERSION = "19.12.00.023";
|
||||||
|
|
||||||
sub version {
|
sub version {
|
||||||
return $VERSION;
|
return $VERSION;
|
||||||
|
|
|
@ -43,7 +43,7 @@ __PACKAGE__->table("quotes");
|
||||||
|
|
||||||
data_type: 'datetime'
|
data_type: 'datetime'
|
||||||
datetime_undef_if_invalid: 1
|
datetime_undef_if_invalid: 1
|
||||||
is_nullable: 0
|
is_nullable: 1
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ __PACKAGE__->add_columns(
|
||||||
{
|
{
|
||||||
data_type => "datetime",
|
data_type => "datetime",
|
||||||
datetime_undef_if_invalid => 1,
|
datetime_undef_if_invalid => 1,
|
||||||
is_nullable => 0,
|
is_nullable => 1,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -75,8 +75,8 @@ __PACKAGE__->add_columns(
|
||||||
__PACKAGE__->set_primary_key("id");
|
__PACKAGE__->set_primary_key("id");
|
||||||
|
|
||||||
|
|
||||||
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
|
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-19 11:09:24
|
||||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8xSMrGuJH9rbm73qOvU8Xg
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CdcbCjhjmsLLDQ1AAOja7Q
|
||||||
|
|
||||||
|
|
||||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
$DBversion = 'XXX'; # will be replaced by the RM
|
|
||||||
if( CheckVersion( $DBversion ) ) {
|
|
||||||
$dbh->do( "ALTER TABLE quotes MODIFY timestamp datetime NULL" );
|
|
||||||
|
|
||||||
SetVersion( $DBversion );
|
|
||||||
print "Upgrade to $DBversion done (Bug 24640 - Allow quotes.timestamp to be NULL)\n";
|
|
||||||
}
|
|
|
@ -20817,6 +20817,14 @@ if( CheckVersion( $DBversion ) ) {
|
||||||
print "Upgrade to $DBversion done (Bug 20882 - items.uri to MEDIUMTEXT)\n";
|
print "Upgrade to $DBversion done (Bug 20882 - items.uri to MEDIUMTEXT)\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$DBversion = '19.12.00.023';
|
||||||
|
if( CheckVersion( $DBversion ) ) {
|
||||||
|
$dbh->do( "ALTER TABLE quotes MODIFY timestamp datetime NULL" );
|
||||||
|
|
||||||
|
SetVersion( $DBversion );
|
||||||
|
print "Upgrade to $DBversion done (Bug 24640 - Allow quotes.timestamp to be NULL)\n";
|
||||||
|
}
|
||||||
|
|
||||||
# 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