|
Lines 111-116
__PACKAGE__->table("accountlines");
Link Here
|
| 111 |
data_type: 'integer' |
111 |
data_type: 'integer' |
| 112 |
is_nullable: 1 |
112 |
is_nullable: 1 |
| 113 |
|
113 |
|
|
|
114 |
=head2 branchcode |
| 115 |
|
| 116 |
data_type: 'varchar' |
| 117 |
is_foreign_key: 1 |
| 118 |
is_nullable: 1 |
| 119 |
size: 10 |
| 120 |
|
| 114 |
=cut |
121 |
=cut |
| 115 |
|
122 |
|
| 116 |
__PACKAGE__->add_columns( |
123 |
__PACKAGE__->add_columns( |
|
Lines 154-159
__PACKAGE__->add_columns(
Link Here
|
| 154 |
{ data_type => "mediumtext", is_nullable => 1 }, |
161 |
{ data_type => "mediumtext", is_nullable => 1 }, |
| 155 |
"manager_id", |
162 |
"manager_id", |
| 156 |
{ data_type => "integer", is_nullable => 1 }, |
163 |
{ data_type => "integer", is_nullable => 1 }, |
|
|
164 |
"branchcode", |
| 165 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
| 157 |
); |
166 |
); |
| 158 |
|
167 |
|
| 159 |
=head1 PRIMARY KEY |
168 |
=head1 PRIMARY KEY |
|
Lines 215-220
__PACKAGE__->belongs_to(
Link Here
|
| 215 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
224 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
| 216 |
); |
225 |
); |
| 217 |
|
226 |
|
|
|
227 |
=head2 branchcode |
| 228 |
|
| 229 |
Type: belongs_to |
| 230 |
|
| 231 |
Related object: L<Koha::Schema::Result::Branch> |
| 232 |
|
| 233 |
=cut |
| 234 |
|
| 235 |
__PACKAGE__->belongs_to( |
| 236 |
"branchcode", |
| 237 |
"Koha::Schema::Result::Branch", |
| 238 |
{ branchcode => "branchcode" }, |
| 239 |
{ |
| 240 |
is_deferrable => 1, |
| 241 |
join_type => "LEFT", |
| 242 |
on_delete => "SET NULL", |
| 243 |
on_update => "CASCADE", |
| 244 |
}, |
| 245 |
); |
| 246 |
|
| 218 |
=head2 itemnumber |
247 |
=head2 itemnumber |
| 219 |
|
248 |
|
| 220 |
Type: belongs_to |
249 |
Type: belongs_to |
|
Lines 236-243
__PACKAGE__->belongs_to(
Link Here
|
| 236 |
); |
265 |
); |
| 237 |
|
266 |
|
| 238 |
|
267 |
|
| 239 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-16 17:00:24 |
268 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-10 14:24:08 |
| 240 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pygYYKxFDRLX97PyeUeLvg |
269 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PacL0dcS1HuKgdCg3bQa4w |
| 241 |
|
270 |
|
| 242 |
|
271 |
|
| 243 |
# You can replace this text with custom content, and it will be preserved on regeneration |
272 |
# You can replace this text with custom content, and it will be preserved on regeneration |