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

(-)a/Koha/Schema/Result/CourseItem.pm (-2 / +2 lines)
Lines 380-387 __PACKAGE__->belongs_to( Link Here
380
);
380
);
381
381
382
382
383
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-06-11 18:35:38
383
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-06-26 13:35:02
384
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3fFJ3uJr+5pMZniZ1glIpg
384
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oKWb55tzmvBnaM3Xx7aTkw
385
385
386
__PACKAGE__->add_columns(
386
__PACKAGE__->add_columns(
387
    '+itype_enabled'         => { is_boolean => 1 },
387
    '+itype_enabled'         => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Deleteditem.pm (-6 / +5 lines)
Lines 58-67 item barcode (MARC21 952$p) Link Here
58
=head2 bookable
58
=head2 bookable
59
59
60
  data_type: 'tinyint'
60
  data_type: 'tinyint'
61
  default_value: 0
61
  is_nullable: 1
62
  is_nullable: 0
63
62
64
boolean value defining whether this this item is available for bookings or not
63
nullable boolean value defining whether this this item is available for bookings or not
65
64
66
=head2 dateaccessioned
65
=head2 dateaccessioned
67
66
Lines 405-411 __PACKAGE__->add_columns( Link Here
405
  "barcode",
404
  "barcode",
406
  { data_type => "varchar", is_nullable => 1, size => 20 },
405
  { data_type => "varchar", is_nullable => 1, size => 20 },
407
  "bookable",
406
  "bookable",
408
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
407
  { data_type => "tinyint", is_nullable => 1 },
409
  "dateaccessioned",
408
  "dateaccessioned",
410
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
409
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
411
  "booksellerid",
410
  "booksellerid",
Lines 532-539 __PACKAGE__->add_columns( Link Here
532
__PACKAGE__->set_primary_key("itemnumber");
531
__PACKAGE__->set_primary_key("itemnumber");
533
532
534
533
535
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-26 13:26:37
534
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-06-26 13:35:02
536
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:13COB8Ty6QDInmxN/zvEig
535
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1DwSBCE1xmO32FHJofFG6Q
537
536
538
__PACKAGE__->add_columns(
537
__PACKAGE__->add_columns(
539
    '+bookable'                          => { is_boolean => 1 },
538
    '+bookable'                          => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Item.pm (-6 / +5 lines)
Lines 60-69 item barcode (MARC21 952$p) Link Here
60
=head2 bookable
60
=head2 bookable
61
61
62
  data_type: 'tinyint'
62
  data_type: 'tinyint'
63
  default_value: 0
63
  is_nullable: 1
64
  is_nullable: 0
65
64
66
boolean value defining whether this this item is available for bookings or not
65
nullable boolean value defining whether this this item is available for bookings or not
67
66
68
=head2 dateaccessioned
67
=head2 dateaccessioned
69
68
Lines 419-425 __PACKAGE__->add_columns( Link Here
419
  "barcode",
418
  "barcode",
420
  { data_type => "varchar", is_nullable => 1, size => 20 },
419
  { data_type => "varchar", is_nullable => 1, size => 20 },
421
  "bookable",
420
  "bookable",
422
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
421
  { data_type => "tinyint", is_nullable => 1 },
423
  "dateaccessioned",
422
  "dateaccessioned",
424
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
423
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
425
  "booksellerid",
424
  "booksellerid",
Lines 992-999 __PACKAGE__->might_have( Link Here
992
);
991
);
993
992
994
993
995
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-26 13:26:37
994
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-06-26 13:35:02
996
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8BzPWv3gqdhfLNz+Il93cw
995
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IgHEWfpSO2nOjgde1/fsvg
997
996
998
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
997
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
999
998
(-)a/Koha/Schema/Result/Itemtype.pm (-3 / +12 lines)
Lines 176-181 Group this item type with others with the same value on OPAC search options Link Here
176
176
177
If automatic checkin is enabled for items of this type
177
If automatic checkin is enabled for items of this type
178
178
179
=head2 bookable
180
181
  data_type: 'tinyint'
182
  default_value: 0
183
  is_nullable: 0
184
185
Activate bookable feature for items related to this item type
186
179
=cut
187
=cut
180
188
181
__PACKAGE__->add_columns(
189
__PACKAGE__->add_columns(
Lines 222-227 __PACKAGE__->add_columns( Link Here
222
  { data_type => "varchar", is_nullable => 1, size => 80 },
230
  { data_type => "varchar", is_nullable => 1, size => 80 },
223
  "automatic_checkin",
231
  "automatic_checkin",
224
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
232
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
233
  "bookable",
234
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
225
);
235
);
226
236
227
=head1 PRIMARY KEY
237
=head1 PRIMARY KEY
Lines 334-341 __PACKAGE__->has_many( Link Here
334
);
344
);
335
345
336
346
337
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-08 14:38:07
347
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-06-26 13:35:02
338
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9NChRQA4eBUqHpLXUFmOuw
348
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rjk3kfSQmwkcgjoykCX9dg
339
349
340
__PACKAGE__->add_columns(
350
__PACKAGE__->add_columns(
341
    '+automatic_checkin'            => { is_boolean => 1 },
351
    '+automatic_checkin'            => { is_boolean => 1 },
342
- 

Return to bug 35906