Bug 22532: DBRev 18.12.00.059
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
752eba6cfe
commit
6f1459e2ce
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 = "18.12.00.058";
|
||||
$VERSION = "18.12.00.059";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -108,12 +108,6 @@ __PACKAGE__->table("import_records");
|
|||
is_nullable: 0
|
||||
size: 40
|
||||
|
||||
=head2 z3950random
|
||||
|
||||
data_type: 'varchar'
|
||||
is_nullable: 1
|
||||
size: 40
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
|
|
@ -176,8 +170,6 @@ __PACKAGE__->add_columns(
|
|||
{ data_type => "longtext", is_nullable => 1 },
|
||||
"encoding",
|
||||
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 40 },
|
||||
"z3950random",
|
||||
{ data_type => "varchar", is_nullable => 1, size => 40 },
|
||||
);
|
||||
|
||||
=head1 PRIMARY KEY
|
||||
|
|
@ -270,8 +262,8 @@ __PACKAGE__->has_many(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yCx/kRJXjPIB5Uuv40TB7g
|
||||
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-18 10:50:48
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bqIAQzhgioWtBWU8zFdtjw
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
if( column_exists( 'import_records', 'z3950random' ) ) {
|
||||
$dbh->do( "ALTER TABLE import_records DROP COLUMN z3950random" );
|
||||
}
|
||||
|
||||
# Always end with this (adjust the bug info)
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 22532 - Remove import_records z3950random column)\n";
|
||||
}
|
||||
|
|
@ -18225,6 +18225,17 @@ if( CheckVersion( $DBversion ) ) {
|
|||
print "Upgrade to $DBversion done (Bug 22318: Move contents of OpacNavRight preference to Koha news system)\n";
|
||||
}
|
||||
|
||||
$DBversion = '18.12.00.059';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
if( column_exists( 'import_records', 'z3950random' ) ) {
|
||||
$dbh->do( "ALTER TABLE import_records DROP COLUMN z3950random" );
|
||||
}
|
||||
|
||||
# Always end with this (adjust the bug info)
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 22532 - Remove import_records z3950random column)\n";
|
||||
}
|
||||
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue