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

(-)a/Koha/Schema/Result/OldReserve.pm (-3 / +12 lines)
Lines 150-155 __PACKAGE__->table("old_reserves"); Link Here
150
  default_value: 0
150
  default_value: 0
151
  is_nullable: 0
151
  is_nullable: 0
152
152
153
=head2 non_priority
154
155
  data_type: 'tinyint'
156
  default_value: 0
157
  is_nullable: 0
158
153
=cut
159
=cut
154
160
155
__PACKAGE__->add_columns(
161
__PACKAGE__->add_columns(
Lines 209-214 __PACKAGE__->add_columns( Link Here
209
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
215
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
210
  "item_level_hold",
216
  "item_level_hold",
211
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
217
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
218
  "non_priority",
219
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
212
);
220
);
213
221
214
=head1 PRIMARY KEY
222
=head1 PRIMARY KEY
Lines 306-318 __PACKAGE__->belongs_to( Link Here
306
);
314
);
307
315
308
316
309
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-25 13:08:15
317
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-08-19 19:20:37
310
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PtDLEieaxS+76FD0H943Zg
318
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dov8h1qPOTI4pWBFUuaV2Q
311
319
312
__PACKAGE__->add_columns(
320
__PACKAGE__->add_columns(
313
    '+item_level_hold' => { is_boolean => 1 },
321
    '+item_level_hold' => { is_boolean => 1 },
314
    '+lowestPriority'  => { is_boolean => 1 },
322
    '+lowestPriority'  => { is_boolean => 1 },
315
    '+suspend'         => { is_boolean => 1 }
323
    '+suspend'         => { is_boolean => 1 },
324
    '+non_priority'    => { is_boolean => 1 }
316
);
325
);
317
326
318
sub koha_object_class {
327
sub koha_object_class {
(-)a/Koha/Schema/Result/Reserve.pm (-4 / +12 lines)
Lines 154-159 __PACKAGE__->table("reserves"); Link Here
154
  default_value: 0
154
  default_value: 0
155
  is_nullable: 0
155
  is_nullable: 0
156
156
157
=head2 non_priority
158
159
  data_type: 'tinyint'
160
  default_value: 0
161
  is_nullable: 0
162
157
=cut
163
=cut
158
164
159
__PACKAGE__->add_columns(
165
__PACKAGE__->add_columns(
Lines 223-228 __PACKAGE__->add_columns( Link Here
223
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
229
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
224
  "item_level_hold",
230
  "item_level_hold",
225
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
231
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
232
  "non_priority",
233
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
226
);
234
);
227
235
228
=head1 PRIMARY KEY
236
=head1 PRIMARY KEY
Lines 345-352 __PACKAGE__->belongs_to( Link Here
345
);
353
);
346
354
347
355
348
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-25 13:08:15
356
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-08-19 19:20:37
349
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qdEIwB+DOrraRb+zd4F6yQ
357
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:o9wUv86AL1c/mje4GCW8Zw
350
358
351
__PACKAGE__->belongs_to(
359
__PACKAGE__->belongs_to(
352
  "item",
360
  "item",
Lines 375-381 __PACKAGE__->belongs_to( Link Here
375
__PACKAGE__->add_columns(
383
__PACKAGE__->add_columns(
376
    '+item_level_hold' => { is_boolean => 1 },
384
    '+item_level_hold' => { is_boolean => 1 },
377
    '+lowestPriority'  => { is_boolean => 1 },
385
    '+lowestPriority'  => { is_boolean => 1 },
378
    '+suspend'         => { is_boolean => 1 }
386
    '+suspend'         => { is_boolean => 1 },
387
    '+non_priority'    => { is_boolean => 1 }
379
);
388
);
380
389
381
sub koha_object_class {
390
sub koha_object_class {
382
- 

Return to bug 22789