Bug 22516: DBRev 18.12.00.034
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
a52c3f5fa3
commit
cf85d02dae
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.033";
|
||||
$VERSION = "18.12.00.034";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -81,12 +81,6 @@ __PACKAGE__->table("accountlines");
|
|||
is_nullable: 1
|
||||
size: [28,6]
|
||||
|
||||
=head2 lastincrement
|
||||
|
||||
data_type: 'decimal'
|
||||
is_nullable: 1
|
||||
size: [28,6]
|
||||
|
||||
=head2 timestamp
|
||||
|
||||
data_type: 'timestamp'
|
||||
|
|
@ -135,8 +129,6 @@ __PACKAGE__->add_columns(
|
|||
{ data_type => "varchar", is_nullable => 1, size => 80 },
|
||||
"amountoutstanding",
|
||||
{ data_type => "decimal", is_nullable => 1, size => [28, 6] },
|
||||
"lastincrement",
|
||||
{ data_type => "decimal", is_nullable => 1, size => [28, 6] },
|
||||
"timestamp",
|
||||
{
|
||||
data_type => "timestamp",
|
||||
|
|
@ -277,8 +269,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-03-22 20:06:37
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Op6tRrWF4pGrLcunNiXO+g
|
||||
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-28 18:01:31
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6TVweDBJR9SEra68zHn8fQ
|
||||
|
||||
sub koha_objects_class {
|
||||
'Koha::Account::Lines';
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
|
||||
if ( column_exists( 'accountlines', 'lastincrement' ) ) {
|
||||
$dbh->do("ALTER TABLE `accountlines` DROP COLUMN `lastincrement`");
|
||||
}
|
||||
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 22516 - Drop deprecated accountlines.lastincrement field)\n";
|
||||
}
|
||||
|
|
@ -17816,6 +17816,17 @@ if( CheckVersion( $DBversion ) ) {
|
|||
print "Upgrade to $DBversion done (Bug 18213 - Add language facets to Elasticsearch)\n";
|
||||
}
|
||||
|
||||
$DBversion = '18.12.00.034';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
|
||||
if ( column_exists( 'accountlines', 'lastincrement' ) ) {
|
||||
$dbh->do("ALTER TABLE `accountlines` DROP COLUMN `lastincrement`");
|
||||
}
|
||||
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 22516 - Drop deprecated accountlines.lastincrement field)\n";
|
||||
}
|
||||
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue