|
Lines 71-76
__PACKAGE__->table("course_items");
Link Here
|
| 71 |
is_nullable: 1 |
71 |
is_nullable: 1 |
| 72 |
size: 80 |
72 |
size: 80 |
| 73 |
|
73 |
|
|
|
74 |
=head2 homebranch |
| 75 |
|
| 76 |
data_type: 'varchar' |
| 77 |
is_foreign_key: 1 |
| 78 |
is_nullable: 1 |
| 79 |
size: 10 |
| 80 |
|
| 81 |
=head2 homebranch_enabled |
| 82 |
|
| 83 |
data_type: 'tinyint' |
| 84 |
default_value: 0 |
| 85 |
is_nullable: 0 |
| 86 |
|
| 87 |
=head2 homebranch_storage |
| 88 |
|
| 89 |
data_type: 'varchar' |
| 90 |
is_foreign_key: 1 |
| 91 |
is_nullable: 1 |
| 92 |
size: 10 |
| 93 |
|
| 74 |
=head2 holdingbranch |
94 |
=head2 holdingbranch |
| 75 |
|
95 |
|
| 76 |
data_type: 'varchar' |
96 |
data_type: 'varchar' |
|
Lines 141-146
__PACKAGE__->add_columns(
Link Here
|
| 141 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
161 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 142 |
"ccode_storage", |
162 |
"ccode_storage", |
| 143 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
163 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
|
|
164 |
"homebranch", |
| 165 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
| 166 |
"homebranch_enabled", |
| 167 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 168 |
"homebranch_storage", |
| 169 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
| 144 |
"holdingbranch", |
170 |
"holdingbranch", |
| 145 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
171 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
| 146 |
"holdingbranch_enabled", |
172 |
"holdingbranch_enabled", |
|
Lines 232-237
__PACKAGE__->belongs_to(
Link Here
|
| 232 |
}, |
258 |
}, |
| 233 |
); |
259 |
); |
| 234 |
|
260 |
|
|
|
261 |
=head2 homebranch |
| 262 |
|
| 263 |
Type: belongs_to |
| 264 |
|
| 265 |
Related object: L<Koha::Schema::Result::Branch> |
| 266 |
|
| 267 |
=cut |
| 268 |
|
| 269 |
__PACKAGE__->belongs_to( |
| 270 |
"homebranch", |
| 271 |
"Koha::Schema::Result::Branch", |
| 272 |
{ branchcode => "homebranch" }, |
| 273 |
{ |
| 274 |
is_deferrable => 1, |
| 275 |
join_type => "LEFT", |
| 276 |
on_delete => "CASCADE", |
| 277 |
on_update => "CASCADE", |
| 278 |
}, |
| 279 |
); |
| 280 |
|
| 281 |
=head2 homebranch_storage |
| 282 |
|
| 283 |
Type: belongs_to |
| 284 |
|
| 285 |
Related object: L<Koha::Schema::Result::Branch> |
| 286 |
|
| 287 |
=cut |
| 288 |
|
| 289 |
__PACKAGE__->belongs_to( |
| 290 |
"homebranch_storage", |
| 291 |
"Koha::Schema::Result::Branch", |
| 292 |
{ branchcode => "homebranch_storage" }, |
| 293 |
{ |
| 294 |
is_deferrable => 1, |
| 295 |
join_type => "LEFT", |
| 296 |
on_delete => "CASCADE", |
| 297 |
on_update => "CASCADE", |
| 298 |
}, |
| 299 |
); |
| 300 |
|
| 235 |
=head2 itemnumber |
301 |
=head2 itemnumber |
| 236 |
|
302 |
|
| 237 |
Type: belongs_to |
303 |
Type: belongs_to |
|
Lines 248-255
__PACKAGE__->belongs_to(
Link Here
|
| 248 |
); |
314 |
); |
| 249 |
|
315 |
|
| 250 |
|
316 |
|
| 251 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-19 16:07:13 |
317 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-04-24 10:54:54 |
| 252 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8tTH0fAzewvaXRYs8+VZcg |
318 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cXNlGAgIZMs+Id7/FJSBRQ |
| 253 |
|
319 |
|
| 254 |
__PACKAGE__->add_columns( |
320 |
__PACKAGE__->add_columns( |
| 255 |
'+itype_enabled' => { is_boolean => 1 }, |
321 |
'+itype_enabled' => { is_boolean => 1 }, |
| 256 |
- |
|
|