|
Lines 61-66
__PACKAGE__->table("account_offsets");
Link Here
|
| 61 |
default_value: current_timestamp |
61 |
default_value: current_timestamp |
| 62 |
is_nullable: 0 |
62 |
is_nullable: 0 |
| 63 |
|
63 |
|
|
|
64 |
=head2 transaction_library |
| 65 |
|
| 66 |
data_type: 'varchar' |
| 67 |
is_foreign_key: 1 |
| 68 |
is_nullable: 1 |
| 69 |
size: 10 |
| 70 |
|
| 64 |
=cut |
71 |
=cut |
| 65 |
|
72 |
|
| 66 |
__PACKAGE__->add_columns( |
73 |
__PACKAGE__->add_columns( |
|
Lines 81-86
__PACKAGE__->add_columns(
Link Here
|
| 81 |
default_value => \"current_timestamp", |
88 |
default_value => \"current_timestamp", |
| 82 |
is_nullable => 0, |
89 |
is_nullable => 0, |
| 83 |
}, |
90 |
}, |
|
|
91 |
"transaction_library", |
| 92 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
| 84 |
); |
93 |
); |
| 85 |
|
94 |
|
| 86 |
=head1 PRIMARY KEY |
95 |
=head1 PRIMARY KEY |
|
Lines 137-142
__PACKAGE__->belongs_to(
Link Here
|
| 137 |
}, |
146 |
}, |
| 138 |
); |
147 |
); |
| 139 |
|
148 |
|
|
|
149 |
=head2 transaction_library |
| 150 |
|
| 151 |
Type: belongs_to |
| 152 |
|
| 153 |
Related object: L<Koha::Schema::Result::Branch> |
| 154 |
|
| 155 |
=cut |
| 156 |
|
| 157 |
__PACKAGE__->belongs_to( |
| 158 |
"transaction_library", |
| 159 |
"Koha::Schema::Result::Branch", |
| 160 |
{ branchcode => "transaction_library" }, |
| 161 |
{ |
| 162 |
is_deferrable => 1, |
| 163 |
join_type => "LEFT", |
| 164 |
on_delete => "CASCADE", |
| 165 |
on_update => "CASCADE", |
| 166 |
}, |
| 167 |
); |
| 168 |
|
| 140 |
=head2 type |
169 |
=head2 type |
| 141 |
|
170 |
|
| 142 |
Type: belongs_to |
171 |
Type: belongs_to |
|
Lines 153-160
__PACKAGE__->belongs_to(
Link Here
|
| 153 |
); |
182 |
); |
| 154 |
|
183 |
|
| 155 |
|
184 |
|
| 156 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-20 16:27:04 |
185 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-24 06:47:56 |
| 157 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tPPrIug2c7PbDO7LCxCJAA |
186 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l4H08mo7riljgHp4ao3uzA |
| 158 |
|
187 |
|
| 159 |
|
188 |
|
| 160 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
189 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |