Lines 90-95
__PACKAGE__->add_columns(
Link Here
|
90 |
|
90 |
|
91 |
__PACKAGE__->set_primary_key("id"); |
91 |
__PACKAGE__->set_primary_key("id"); |
92 |
|
92 |
|
|
|
93 |
=head1 UNIQUE CONSTRAINTS |
94 |
|
95 |
=head2 C<av_uniq> |
96 |
|
97 |
=over 4 |
98 |
|
99 |
=item * L</category> |
100 |
|
101 |
=item * L</authorised_value> |
102 |
|
103 |
=back |
104 |
|
105 |
=cut |
106 |
|
107 |
__PACKAGE__->add_unique_constraint("av_uniq", ["category", "authorised_value"]); |
108 |
|
93 |
=head1 RELATIONS |
109 |
=head1 RELATIONS |
94 |
|
110 |
|
95 |
=head2 authorised_values_branches |
111 |
=head2 authorised_values_branches |
Lines 108-115
__PACKAGE__->has_many(
Link Here
|
108 |
); |
124 |
); |
109 |
|
125 |
|
110 |
|
126 |
|
111 |
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 |
127 |
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-05 16:05:45 |
112 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:N6Q7Y4sHL03X170zJ3APUA |
128 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9LllSeL5DPjwR2ucEOqU8w |
113 |
|
129 |
|
114 |
|
130 |
|
115 |
# You can replace this text with custom content, and it will be preserved on regeneration |
131 |
# You can replace this text with custom content, and it will be preserved on regeneration |