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

(-)a/Koha/Schema/Result/Booking.pm (-6 / +6 lines)
Lines 87-93 the end date of the booking Link Here
87
  data_type: 'timestamp'
87
  data_type: 'timestamp'
88
  datetime_undef_if_invalid: 1
88
  datetime_undef_if_invalid: 1
89
  default_value: current_timestamp
89
  default_value: current_timestamp
90
  is_nullable: 0
90
  is_nullable: 1
91
91
92
the timestamp for when a booking was created
92
the timestamp for when a booking was created
93
93
Lines 96-102 the timestamp for when a booking was created Link Here
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: 1
100
100
101
the timestamp for when a booking has been updated
101
the timestamp for when a booking has been updated
102
102
Lines 157-170 __PACKAGE__->add_columns( Link Here
157
    data_type => "timestamp",
157
    data_type => "timestamp",
158
    datetime_undef_if_invalid => 1,
158
    datetime_undef_if_invalid => 1,
159
    default_value => \"current_timestamp",
159
    default_value => \"current_timestamp",
160
    is_nullable => 0,
160
    is_nullable => 1,
161
  },
161
  },
162
  "modification_date",
162
  "modification_date",
163
  {
163
  {
164
    data_type => "timestamp",
164
    data_type => "timestamp",
165
    datetime_undef_if_invalid => 1,
165
    datetime_undef_if_invalid => 1,
166
    default_value => \"current_timestamp",
166
    default_value => \"current_timestamp",
167
    is_nullable => 0,
167
    is_nullable => 1,
168
  },
168
  },
169
  "status",
169
  "status",
170
  {
170
  {
Lines 257-264 __PACKAGE__->belongs_to( Link Here
257
);
257
);
258
258
259
259
260
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-24 16:23:05
260
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-04 15:06:49
261
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kTR2kwiwY2PnjU1E0P+CMQ
261
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7ItG3217d3lYx8ALRsktrw
262
262
263
263
264
# You can replace this text with custom code or comments, and it will be preserved on regeneration
264
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/BorrowerDebarment.pm (-3 / +3 lines)
Lines 158-169 __PACKAGE__->belongs_to( Link Here
158
  "type",
158
  "type",
159
  "Koha::Schema::Result::RestrictionType",
159
  "Koha::Schema::Result::RestrictionType",
160
  { code => "type" },
160
  { code => "type" },
161
  { is_deferrable => 1, on_delete => "NO ACTION", on_update => "CASCADE" },
161
  { is_deferrable => 1, on_delete => "RESTRICT", on_update => "CASCADE" },
162
);
162
);
163
163
164
164
165
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-08-19 17:53:04
165
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-04 15:06:49
166
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kDCkA7XrjKXlrFG5lk8Lgg
166
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BqN5VeZcgj6vNscHw+yukw
167
167
168
sub koha_objects_class {
168
sub koha_objects_class {
169
    'Koha::Patron::Restrictions';
169
    'Koha::Patron::Restrictions';
(-)a/Koha/Schema/Result/ImportOaiAuthority.pm (-3 / +3 lines)
Lines 140-151 __PACKAGE__->belongs_to( Link Here
140
  "authid",
140
  "authid",
141
  "Koha::Schema::Result::AuthHeader",
141
  "Koha::Schema::Result::AuthHeader",
142
  { authid => "authid" },
142
  { authid => "authid" },
143
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "NO ACTION" },
143
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
144
);
144
);
145
145
146
146
147
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-31 14:51:58
147
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-04 15:06:49
148
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PoiX9tXFhEq07VBfEg9HFw
148
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+OlzuRqVRPGx+tuzwPDvGg
149
149
150
150
151
# You can replace this text with custom code or comments, and it will be preserved on regeneration
151
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/ImportOaiBiblio.pm (-4 / +3 lines)
Lines 134-145 __PACKAGE__->belongs_to( Link Here
134
  "biblionumber",
134
  "biblionumber",
135
  "Koha::Schema::Result::Biblio",
135
  "Koha::Schema::Result::Biblio",
136
  { biblionumber => "biblionumber" },
136
  { biblionumber => "biblionumber" },
137
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "NO ACTION" },
137
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
138
);
138
);
139
139
140
140
141
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-31 14:51:58
141
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-04 15:06:49
142
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:25riMQF65/EoFhTXdZbcBg
142
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M2ZXUn0Q7Z2zJnzu5wiSvw
143
143
144
144
145
# You can replace this text with custom code or comments, and it will be preserved on regeneration
145
# You can replace this text with custom code or comments, and it will be preserved on regeneration
146
- 

Return to bug 28633