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

(-)a/Koha/Schema/Result/ClubHoldsToPatronHold.pm (-3 / +4 lines)
Lines 50-56 __PACKAGE__->table("club_holds_to_patron_holds"); Link Here
50
=head2 error_code
50
=head2 error_code
51
51
52
  data_type: 'enum'
52
  data_type: 'enum'
53
  extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred"]}
53
  extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred","noReservesAllowed"]}
54
  is_nullable: 1
54
  is_nullable: 1
55
55
56
=head2 error_message
56
=head2 error_message
Lines 86-91 __PACKAGE__->add_columns( Link Here
86
        "libraryNotFound",
86
        "libraryNotFound",
87
        "libraryNotPickupLocation",
87
        "libraryNotPickupLocation",
88
        "cannotBeTransferred",
88
        "cannotBeTransferred",
89
        "noReservesAllowed",
89
      ],
90
      ],
90
    },
91
    },
91
    is_nullable => 1,
92
    is_nullable => 1,
Lines 159-166 __PACKAGE__->belongs_to( Link Here
159
);
160
);
160
161
161
162
162
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
163
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 16:39:16
163
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/T626DfqUi7SnXOyieUzYw
164
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ECI9E9WQTX7LaIlqF5rwEw
164
165
165
sub koha_objects_class {
166
sub koha_objects_class {
166
    'Koha::Club::Hold::PatronHolds';
167
    'Koha::Club::Hold::PatronHolds';
(-)a/Koha/Schema/Result/OldReserve.pm (-4 / +4 lines)
Lines 91-97 __PACKAGE__->table("old_reserves"); Link Here
91
91
92
  data_type: 'timestamp'
92
  data_type: 'timestamp'
93
  datetime_undef_if_invalid: 1
93
  datetime_undef_if_invalid: 1
94
  default_value: current_timestamp
94
  default_value: 'current_timestamp()'
95
  is_nullable: 0
95
  is_nullable: 0
96
96
97
=head2 itemnumber
97
=head2 itemnumber
Lines 173-179 __PACKAGE__->add_columns( Link Here
173
  {
173
  {
174
    data_type => "timestamp",
174
    data_type => "timestamp",
175
    datetime_undef_if_invalid => 1,
175
    datetime_undef_if_invalid => 1,
176
    default_value => \"current_timestamp",
176
    default_value => "current_timestamp()",
177
    is_nullable => 0,
177
    is_nullable => 0,
178
  },
178
  },
179
  "itemnumber",
179
  "itemnumber",
Lines 298-305 __PACKAGE__->belongs_to( Link Here
298
);
298
);
299
299
300
300
301
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
301
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 16:39:16
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8DGJs3nscxvABwZhxthE+g
303
303
304
sub koha_object_class {
304
sub koha_object_class {
305
    'Koha::Old::Hold';
305
    'Koha::Old::Hold';
(-)a/Koha/Schema/Result/Reserve.pm (-5 / +4 lines)
Lines 95-101 __PACKAGE__->table("reserves"); Link Here
95
95
96
  data_type: 'timestamp'
96
  data_type: 'timestamp'
97
  datetime_undef_if_invalid: 1
97
  datetime_undef_if_invalid: 1
98
  default_value: current_timestamp
98
  default_value: 'current_timestamp()'
99
  is_nullable: 0
99
  is_nullable: 0
100
100
101
=head2 itemnumber
101
=head2 itemnumber
Lines 187-193 __PACKAGE__->add_columns( Link Here
187
  {
187
  {
188
    data_type => "timestamp",
188
    data_type => "timestamp",
189
    datetime_undef_if_invalid => 1,
189
    datetime_undef_if_invalid => 1,
190
    default_value => \"current_timestamp",
190
    default_value => "current_timestamp()",
191
    is_nullable => 0,
191
    is_nullable => 0,
192
  },
192
  },
193
  "itemnumber",
193
  "itemnumber",
Lines 337-344 __PACKAGE__->belongs_to( Link Here
337
);
337
);
338
338
339
339
340
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
340
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 16:39:16
341
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg
341
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/FD6PSEFev9UJxyGmaZxFQ
342
342
343
__PACKAGE__->belongs_to(
343
__PACKAGE__->belongs_to(
344
  "item",
344
  "item",
345
- 

Return to bug 16787