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

(-)a/Koha/Schema/Result/Category.pm (-9 / +9 lines)
Lines 133-143 __PACKAGE__->table("categories"); Link Here
133
  data_type: 'tinyint'
133
  data_type: 'tinyint'
134
  is_nullable: 1
134
  is_nullable: 1
135
135
136
=head2 exclude_from_local_holds_priority
137
138
  data_type: 'tinyint'
139
  is_nullable: 1
140
141
=head2 min_password_length
136
=head2 min_password_length
142
137
143
  data_type: 'smallint'
138
  data_type: 'smallint'
Lines 148-153 __PACKAGE__->table("categories"); Link Here
148
  data_type: 'tinyint'
143
  data_type: 'tinyint'
149
  is_nullable: 1
144
  is_nullable: 1
150
145
146
=head2 exclude_from_local_holds_priority
147
148
  data_type: 'tinyint'
149
  is_nullable: 1
150
151
=cut
151
=cut
152
152
153
__PACKAGE__->add_columns(
153
__PACKAGE__->add_columns(
Lines 204-215 __PACKAGE__->add_columns( Link Here
204
  { data_type => "tinyint", is_nullable => 1 },
204
  { data_type => "tinyint", is_nullable => 1 },
205
  "change_password",
205
  "change_password",
206
  { data_type => "tinyint", is_nullable => 1 },
206
  { data_type => "tinyint", is_nullable => 1 },
207
  "exclude_from_local_holds_priority",
208
  { data_type => "tinyint", is_nullable => 1 },
209
  "min_password_length",
207
  "min_password_length",
210
  { data_type => "smallint", is_nullable => 1 },
208
  { data_type => "smallint", is_nullable => 1 },
211
  "require_strong_password",
209
  "require_strong_password",
212
  { data_type => "tinyint", is_nullable => 1 },
210
  { data_type => "tinyint", is_nullable => 1 },
211
  "exclude_from_local_holds_priority",
212
  { data_type => "tinyint", is_nullable => 1 },
213
);
213
);
214
214
215
=head1 PRIMARY KEY
215
=head1 PRIMARY KEY
Lines 302-309 __PACKAGE__->has_many( Link Here
302
);
302
);
303
303
304
304
305
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-09-02 12:50:50
305
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-09-18 09:33:32
306
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JOzFLxLwouaTl5dQJrOdZA
306
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ab4IZUfNu63C/SWLPXlMNg
307
307
308
__PACKAGE__->add_columns(
308
__PACKAGE__->add_columns(
309
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
309
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 22719-22725 if( CheckVersion( $DBversion ) ) { Link Here
22719
22719
22720
    if( !column_exists( 'categories', 'exclude_from_local_holds_priority' ) ) {
22720
    if( !column_exists( 'categories', 'exclude_from_local_holds_priority' ) ) {
22721
        $dbh->do(q{
22721
        $dbh->do(q{
22722
            ALTER TABLE `categories` ADD COLUMN `exclude_from_local_holds_priority` tinyint(1) default NULL AFTER `change_password`
22722
            ALTER TABLE `categories` ADD COLUMN `exclude_from_local_holds_priority` tinyint(1) default NULL AFTER `require_strong_password`
22723
        });
22723
        });
22724
    }
22724
    }
22725
    NewVersion( $DBversion, 19889, "Add exclude_from_local_holds_priority column to items, deleteditems and categories tables");
22725
    NewVersion( $DBversion, 19889, "Add exclude_from_local_holds_priority column to items, deleteditems and categories tables");
22726
- 

Return to bug 25265