|
Lines 97-102
__PACKAGE__->add_columns(
Link Here
|
| 97 |
|
97 |
|
| 98 |
__PACKAGE__->set_primary_key("id"); |
98 |
__PACKAGE__->set_primary_key("id"); |
| 99 |
|
99 |
|
|
|
100 |
=head1 UNIQUE CONSTRAINTS |
| 101 |
|
| 102 |
=head2 C<av_uniq> |
| 103 |
|
| 104 |
=over 4 |
| 105 |
|
| 106 |
=item * L</category> |
| 107 |
|
| 108 |
=item * L</authorised_value> |
| 109 |
|
| 110 |
=back |
| 111 |
|
| 112 |
=cut |
| 113 |
|
| 114 |
__PACKAGE__->add_unique_constraint("av_uniq", ["category", "authorised_value"]); |
| 115 |
|
| 100 |
=head1 RELATIONS |
116 |
=head1 RELATIONS |
| 101 |
|
117 |
|
| 102 |
=head2 authorised_values_branches |
118 |
=head2 authorised_values_branches |
|
Lines 145-152
__PACKAGE__->has_many(
Link Here
|
| 145 |
); |
161 |
); |
| 146 |
|
162 |
|
| 147 |
|
163 |
|
| 148 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-22 14:32:48 |
164 |
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-04-07 11:23:19 |
| 149 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hDlebhEn+f+thqwBo/LOqQ |
165 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6MjWlDqdpIOwsJlyjQawAg |
| 150 |
|
166 |
|
| 151 |
|
167 |
|
| 152 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
168 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
| 153 |
- |
|
|