Lines 37-45
__PACKAGE__->table("accountlines");
Link Here
|
37 |
=head2 borrowernumber |
37 |
=head2 borrowernumber |
38 |
|
38 |
|
39 |
data_type: 'integer' |
39 |
data_type: 'integer' |
40 |
default_value: 0 |
|
|
41 |
is_foreign_key: 1 |
40 |
is_foreign_key: 1 |
42 |
is_nullable: 0 |
41 |
is_nullable: 1 |
43 |
|
42 |
|
44 |
=head2 accountno |
43 |
=head2 accountno |
45 |
|
44 |
|
Lines 119-130
__PACKAGE__->add_columns(
Link Here
|
119 |
"issue_id", |
118 |
"issue_id", |
120 |
{ data_type => "integer", is_nullable => 1 }, |
119 |
{ data_type => "integer", is_nullable => 1 }, |
121 |
"borrowernumber", |
120 |
"borrowernumber", |
122 |
{ |
121 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
123 |
data_type => "integer", |
|
|
124 |
default_value => 0, |
125 |
is_foreign_key => 1, |
126 |
is_nullable => 0, |
127 |
}, |
128 |
"accountno", |
122 |
"accountno", |
129 |
{ data_type => "smallint", default_value => 0, is_nullable => 0 }, |
123 |
{ data_type => "smallint", default_value => 0, is_nullable => 0 }, |
130 |
"itemnumber", |
124 |
"itemnumber", |
Lines 212-218
__PACKAGE__->belongs_to(
Link Here
|
212 |
"borrowernumber", |
206 |
"borrowernumber", |
213 |
"Koha::Schema::Result::Borrower", |
207 |
"Koha::Schema::Result::Borrower", |
214 |
{ borrowernumber => "borrowernumber" }, |
208 |
{ borrowernumber => "borrowernumber" }, |
215 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
209 |
{ |
|
|
210 |
is_deferrable => 1, |
211 |
join_type => "LEFT", |
212 |
on_delete => "SET NULL", |
213 |
on_update => "CASCADE", |
214 |
}, |
216 |
); |
215 |
); |
217 |
|
216 |
|
218 |
=head2 itemnumber |
217 |
=head2 itemnumber |
Lines 236-243
__PACKAGE__->belongs_to(
Link Here
|
236 |
); |
235 |
); |
237 |
|
236 |
|
238 |
|
237 |
|
239 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-16 17:00:24 |
238 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-12-14 12:44:45 |
240 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pygYYKxFDRLX97PyeUeLvg |
239 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jTHbMn2npXMohfx+ttH2Pg |
241 |
|
240 |
|
242 |
sub koha_objects_class { |
241 |
sub koha_objects_class { |
243 |
'Koha::Account::Lines'; |
242 |
'Koha::Account::Lines'; |
244 |
- |
|
|