|
Lines 39-45
unique identifier assigned by Koha
Link Here
|
| 39 |
|
39 |
|
| 40 |
name of the list |
40 |
name of the list |
| 41 |
|
41 |
|
| 42 |
=head2 owner |
42 |
=head2 owner_id |
| 43 |
|
43 |
|
| 44 |
data_type: 'integer' |
44 |
data_type: 'integer' |
| 45 |
is_foreign_key: 1 |
45 |
is_foreign_key: 1 |
|
Lines 120-126
__PACKAGE__->add_columns(
Link Here
|
| 120 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
120 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
| 121 |
"shelfname", |
121 |
"shelfname", |
| 122 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
122 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
| 123 |
"owner", |
123 |
"owner_id", |
| 124 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
124 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 125 |
"public", |
125 |
"public", |
| 126 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
126 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
|
Lines 179-185
Related object: L<Koha::Schema::Result::Borrower>
Link Here
|
| 179 |
__PACKAGE__->belongs_to( |
179 |
__PACKAGE__->belongs_to( |
| 180 |
"owner", |
180 |
"owner", |
| 181 |
"Koha::Schema::Result::Borrower", |
181 |
"Koha::Schema::Result::Borrower", |
| 182 |
{ borrowernumber => "owner" }, |
182 |
{ borrowernumber => "owner_id" }, |
| 183 |
{ |
183 |
{ |
| 184 |
is_deferrable => 1, |
184 |
is_deferrable => 1, |
| 185 |
join_type => "LEFT", |
185 |
join_type => "LEFT", |
|
Lines 219-226
__PACKAGE__->has_many(
Link Here
|
| 219 |
); |
219 |
); |
| 220 |
|
220 |
|
| 221 |
|
221 |
|
| 222 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-08-17 19:59:33 |
222 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-03-02 13:02:45 |
| 223 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EKq7nDW2AeZ2NQce2BPMWA |
223 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EDGKMMT7lAa8ReI9gNKJPg |
| 224 |
|
224 |
|
| 225 |
=head2 koha_object_class |
225 |
=head2 koha_object_class |
| 226 |
|
226 |
|
| 227 |
- |
|
|