|
Lines 44-49
__PACKAGE__->table("account_offsets");
Link Here
|
| 44 |
=head2 type |
44 |
=head2 type |
| 45 |
|
45 |
|
| 46 |
data_type: 'varchar' |
46 |
data_type: 'varchar' |
|
|
47 |
is_foreign_key: 1 |
| 47 |
is_nullable: 0 |
48 |
is_nullable: 0 |
| 48 |
size: 16 |
49 |
size: 16 |
| 49 |
|
50 |
|
|
Lines 70-76
__PACKAGE__->add_columns(
Link Here
|
| 70 |
"debit_id", |
71 |
"debit_id", |
| 71 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
72 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 72 |
"type", |
73 |
"type", |
| 73 |
{ data_type => "varchar", is_nullable => 0, size => 16 }, |
74 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 16 }, |
| 74 |
"amount", |
75 |
"amount", |
| 75 |
{ data_type => "decimal", is_nullable => 0, size => [26, 6] }, |
76 |
{ data_type => "decimal", is_nullable => 0, size => [26, 6] }, |
| 76 |
"created_on", |
77 |
"created_on", |
|
Lines 136-144
__PACKAGE__->belongs_to(
Link Here
|
| 136 |
}, |
137 |
}, |
| 137 |
); |
138 |
); |
| 138 |
|
139 |
|
|
|
140 |
=head2 type |
| 141 |
|
| 142 |
Type: belongs_to |
| 143 |
|
| 144 |
Related object: L<Koha::Schema::Result::AccountOffsetType> |
| 145 |
|
| 146 |
=cut |
| 147 |
|
| 148 |
__PACKAGE__->belongs_to( |
| 149 |
"type", |
| 150 |
"Koha::Schema::Result::AccountOffsetType", |
| 151 |
{ type => "type" }, |
| 152 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
| 153 |
); |
| 154 |
|
| 139 |
|
155 |
|
| 140 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-02-15 16:13:26 |
156 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-09-01 11:00:44 |
| 141 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CQ2SRBUEiVgEVhe88acqqA |
157 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EFxhLJ1SMRwknCaS5srYZA |
| 142 |
|
158 |
|
| 143 |
|
159 |
|
| 144 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
160 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |