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

(-)a/Koha/Schema/Result/OldReserve.pm (-3 / +12 lines)
Lines 144-149 __PACKAGE__->table("old_reserves"); Link Here
144
  default_value: 0
144
  default_value: 0
145
  is_nullable: 0
145
  is_nullable: 0
146
146
147
=head2 non_priority
148
149
  data_type: 'tinyint'
150
  default_value: 0
151
  is_nullable: 0
152
147
=cut
153
=cut
148
154
149
__PACKAGE__->add_columns(
155
__PACKAGE__->add_columns(
Lines 201-206 __PACKAGE__->add_columns( Link Here
201
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
207
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
202
  "item_level_hold",
208
  "item_level_hold",
203
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
209
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
210
  "non_priority",
211
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
204
);
212
);
205
213
206
=head1 PRIMARY KEY
214
=head1 PRIMARY KEY
Lines 298-310 __PACKAGE__->belongs_to( Link Here
298
);
306
);
299
307
300
308
301
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
309
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-08-19 19:20:37
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug
310
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dov8h1qPOTI4pWBFUuaV2Q
303
311
304
__PACKAGE__->add_columns(
312
__PACKAGE__->add_columns(
305
    '+item_level_hold' => { is_boolean => 1 },
313
    '+item_level_hold' => { is_boolean => 1 },
306
    '+lowestPriority'  => { is_boolean => 1 },
314
    '+lowestPriority'  => { is_boolean => 1 },
307
    '+suspend'         => { is_boolean => 1 }
315
    '+suspend'         => { is_boolean => 1 },
316
    '+non_priority'    => { is_boolean => 1 }
308
);
317
);
309
318
310
sub koha_object_class {
319
sub koha_object_class {
(-)a/Koha/Schema/Result/Reserve.pm (-4 / +12 lines)
Lines 148-153 __PACKAGE__->table("reserves"); Link Here
148
  default_value: 0
148
  default_value: 0
149
  is_nullable: 0
149
  is_nullable: 0
150
150
151
=head2 non_priority
152
153
  data_type: 'tinyint'
154
  default_value: 0
155
  is_nullable: 0
156
151
=cut
157
=cut
152
158
153
__PACKAGE__->add_columns(
159
__PACKAGE__->add_columns(
Lines 215-220 __PACKAGE__->add_columns( Link Here
215
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
221
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
216
  "item_level_hold",
222
  "item_level_hold",
217
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
223
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
224
  "non_priority",
225
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
218
);
226
);
219
227
220
=head1 PRIMARY KEY
228
=head1 PRIMARY KEY
Lines 337-344 __PACKAGE__->belongs_to( Link Here
337
);
345
);
338
346
339
347
340
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
348
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-08-19 19:20:37
341
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg
349
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:o9wUv86AL1c/mje4GCW8Zw
342
350
343
__PACKAGE__->belongs_to(
351
__PACKAGE__->belongs_to(
344
  "item",
352
  "item",
Lines 367-373 __PACKAGE__->belongs_to( Link Here
367
__PACKAGE__->add_columns(
375
__PACKAGE__->add_columns(
368
    '+item_level_hold' => { is_boolean => 1 },
376
    '+item_level_hold' => { is_boolean => 1 },
369
    '+lowestPriority'  => { is_boolean => 1 },
377
    '+lowestPriority'  => { is_boolean => 1 },
370
    '+suspend'         => { is_boolean => 1 }
378
    '+suspend'         => { is_boolean => 1 },
379
    '+non_priority'    => { is_boolean => 1 }
371
);
380
);
372
381
373
sub koha_object_class {
382
sub koha_object_class {
374
- 

Return to bug 22789