Lines 60-71
__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 |
|
69 |
=cut |
63 |
=cut |
70 |
|
64 |
|
71 |
__PACKAGE__->add_columns( |
65 |
__PACKAGE__->add_columns( |
Lines 86-93
__PACKAGE__->add_columns(
Link Here
|
86 |
{ data_type => "float", is_nullable => 1, size => [15, 5] }, |
80 |
{ data_type => "float", is_nullable => 1, size => [15, 5] }, |
87 |
"active", |
81 |
"active", |
88 |
{ data_type => "tinyint", is_nullable => 1 }, |
82 |
{ data_type => "tinyint", is_nullable => 1 }, |
89 |
"archived", |
|
|
90 |
{ data_type => "tinyint", default_value => 0, is_nullable => 1 }, |
91 |
); |
83 |
); |
92 |
|
84 |
|
93 |
=head1 PRIMARY KEY |
85 |
=head1 PRIMARY KEY |
Lines 134-157
__PACKAGE__->has_many(
Link Here
|
134 |
{ cascade_copy => 0, cascade_delete => 0 }, |
126 |
{ cascade_copy => 0, cascade_delete => 0 }, |
135 |
); |
127 |
); |
136 |
|
128 |
|
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 |
|
152 |
|
129 |
|
153 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-12-17 10:57:24 |
130 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39 |
154 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B9JY/pDkp8icT7m0xDDKAA |
131 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:o9IAcoQ0uxMdl0zZ0M0agw |
155 |
|
132 |
|
156 |
|
133 |
|
157 |
# You can replace this text with custom content, and it will be preserved on regeneration |
134 |
# You can replace this text with custom content, and it will be preserved on regeneration |