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

(-)a/Koha/Schema/Result/Deleteditem.pm (-4 / +3 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",
(-)a/Koha/Schema/Result/Item.pm (-4 / +3 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",
(-)a/Koha/Schema/Result/Itemtype.pm (-1 / +10 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
228
- 

Return to bug 35906