|
Lines 60-65
__PACKAGE__->table("currency");
Link Here
|
| 60 |
data_type: 'tinyint' |
60 |
data_type: 'tinyint' |
| 61 |
is_nullable: 1 |
61 |
is_nullable: 1 |
| 62 |
|
62 |
|
|
|
63 |
=head2 archived |
| 64 |
|
| 65 |
data_type: 'tinyint' |
| 66 |
default_value: 0 |
| 67 |
is_nullable: 1 |
| 68 |
|
| 63 |
=cut |
69 |
=cut |
| 64 |
|
70 |
|
| 65 |
__PACKAGE__->add_columns( |
71 |
__PACKAGE__->add_columns( |
|
Lines 80-85
__PACKAGE__->add_columns(
Link Here
|
| 80 |
{ data_type => "float", is_nullable => 1, size => [15, 5] }, |
86 |
{ data_type => "float", is_nullable => 1, size => [15, 5] }, |
| 81 |
"active", |
87 |
"active", |
| 82 |
{ data_type => "tinyint", is_nullable => 1 }, |
88 |
{ data_type => "tinyint", is_nullable => 1 }, |
|
|
89 |
"archived", |
| 90 |
{ data_type => "tinyint", default_value => 0, is_nullable => 1 }, |
| 83 |
); |
91 |
); |
| 84 |
|
92 |
|
| 85 |
=head1 PRIMARY KEY |
93 |
=head1 PRIMARY KEY |
|
Lines 126-134
__PACKAGE__->has_many(
Link Here
|
| 126 |
{ cascade_copy => 0, cascade_delete => 0 }, |
134 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 127 |
); |
135 |
); |
| 128 |
|
136 |
|
|
|
137 |
=head2 aqorders |
| 138 |
|
| 139 |
Type: has_many |
| 140 |
|
| 141 |
Related object: L<Koha::Schema::Result::Aqorder> |
| 142 |
|
| 143 |
=cut |
| 144 |
|
| 145 |
__PACKAGE__->has_many( |
| 146 |
"aqorders", |
| 147 |
"Koha::Schema::Result::Aqorder", |
| 148 |
{ "foreign.currency" => "self.currency" }, |
| 149 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 150 |
); |
| 151 |
|
| 129 |
|
152 |
|
| 130 |
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-04 22:05:05 |
153 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-12-17 10:57:24 |
| 131 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MqgYbFC8CTfcBHyAiIcdVA |
154 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B9JY/pDkp8icT7m0xDDKAA |
| 132 |
|
155 |
|
| 133 |
|
156 |
|
| 134 |
# You can replace this text with custom content, and it will be preserved on regeneration |
157 |
# You can replace this text with custom content, and it will be preserved on regeneration |
| 135 |
- |
|
|