View | Details | Raw Unified | Return to bug 11879
Collapse All | Expand All

(-)a/Koha.pm (-1 / +1 lines)
Lines 29-35 use vars qw{ $VERSION }; Link Here
29
# - #4 : the developer version. The 4th number is the database subversion.
29
# - #4 : the developer version. The 4th number is the database subversion.
30
#        used by developers when the database changes. updatedatabase take care of the changes itself
30
#        used by developers when the database changes. updatedatabase take care of the changes itself
31
#        and is automatically called by Auth.pm when needed.
31
#        and is automatically called by Auth.pm when needed.
32
$VERSION = "18.12.00.006";
32
$VERSION = "18.12.00.007";
33
33
34
sub version {
34
sub version {
35
    return $VERSION;
35
    return $VERSION;
(-)a/Koha/Schema/Result/Issuingrule.pm (-10 / +2 lines)
Lines 97-108 __PACKAGE__->table("issuingrules"); Link Here
97
  data_type: 'integer'
97
  data_type: 'integer'
98
  is_nullable: 1
98
  is_nullable: 1
99
99
100
=head2 chargename
101
102
  data_type: 'varchar'
103
  is_nullable: 1
104
  size: 100
105
106
=head2 maxissueqty
100
=head2 maxissueqty
107
101
108
  data_type: 'integer'
102
  data_type: 'integer'
Lines 261-268 __PACKAGE__->add_columns( Link Here
261
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
255
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
262
  "accountsent",
256
  "accountsent",
263
  { data_type => "integer", is_nullable => 1 },
257
  { data_type => "integer", is_nullable => 1 },
264
  "chargename",
265
  { data_type => "varchar", is_nullable => 1, size => 100 },
266
  "maxissueqty",
258
  "maxissueqty",
267
  { data_type => "integer", is_nullable => 1 },
259
  { data_type => "integer", is_nullable => 1 },
268
  "maxonsiteissueqty",
260
  "maxonsiteissueqty",
Lines 336-343 __PACKAGE__->add_columns( Link Here
336
__PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
328
__PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
337
329
338
330
339
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-11-08 17:41:17
331
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-01-04 03:06:35
340
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vOr4mEAacS5WKLQifgT8EA
332
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:slPyHZs0YvOKev3cAxdDJQ
341
333
342
334
343
# You can replace this text with custom code or comments, and it will be preserved on regeneration
335
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/installer/data/mysql/atomicupdate/bug_21753.perl (-10 lines)
Lines 1-10 Link Here
1
$DBversion = 'XXX';  # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    if( column_exists( 'issuingrules', 'chargename' ) ) {
4
        $dbh->do( "ALTER TABLE issuingrules DROP chargename" );
5
    }
6
7
    # Always end with this (adjust the bug info)
8
    SetVersion( $DBversion );
9
    print "Upgrade to $DBversion done (Bug 21753: Drop chargename from issuingrules )\n";
10
}
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +9 lines)
Lines 17235-17240 if( CheckVersion( $DBversion ) ) { Link Here
17235
    print "Upgrade to $DBversion done (Bug 21915 - Add a way to automatically reconcile balance for patrons)\n";
17235
    print "Upgrade to $DBversion done (Bug 21915 - Add a way to automatically reconcile balance for patrons)\n";
17236
}
17236
}
17237
17237
17238
$DBversion = '18.12.00.007';
17239
if( CheckVersion( $DBversion ) ) {
17240
    if( column_exists( 'issuingrules', 'chargename' ) ) {
17241
        $dbh->do( "ALTER TABLE issuingrules DROP chargename" );
17242
    }
17243
    SetVersion( $DBversion );
17244
    print "Upgrade to $DBversion done (Bug 21753: Drop chargename from issuingrules )\n";
17245
}
17246
17238
# SEE bug 13068
17247
# SEE bug 13068
17239
# if there is anything in the atomicupdate, read and execute it.
17248
# if there is anything in the atomicupdate, read and execute it.
17240
17249
17241
- 

Return to bug 11879