From 0ce9fd5b506e9de517a58a0738ddd9d823f7cfae Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 28 Feb 2018 11:22:25 -0300 Subject: [PATCH] Bug 20307: DBIC Schema changes 2 Signed-off-by: Martin Renvoize Signed-off-by: Michal Denar Signed-off-by: Martin Renvoize --- Koha/Schema/Result/Localization.pm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/Localization.pm b/Koha/Schema/Result/Localization.pm index a178a0a843..6922dbadc3 100644 --- a/Koha/Schema/Result/Localization.pm +++ b/Koha/Schema/Result/Localization.pm @@ -89,7 +89,7 @@ __PACKAGE__->set_primary_key("localization_id"); =head1 UNIQUE CONSTRAINTS -=head2 C +=head2 C =over 4 @@ -97,17 +97,22 @@ __PACKAGE__->set_primary_key("localization_id"); =item * L +=item * L + =item * L =back =cut -__PACKAGE__->add_unique_constraint("entity_code_lang", ["entity", "code", "lang"]); +__PACKAGE__->add_unique_constraint( + "entity_code_interface_lang", + ["entity", "code", "interface", "lang"], +); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-28 10:27:49 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:z6Ygj7EGpmfEXDk6wZMS+A +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-28 11:21:32 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:27A/CGfEQT7isxQxrDRubw # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.20.1