From cfce425771350912c3cd8e21c8e205d776aaa443 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 31 Dec 2014 14:09:00 -0300 Subject: [PATCH] Bug 1861: (RM followup) DNIx updates Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Borrower.pm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 1c401ad68a..4dbd0ce68b 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -604,6 +604,18 @@ __PACKAGE__->set_primary_key("borrowernumber"); __PACKAGE__->add_unique_constraint("cardnumber", ["cardnumber"]); +=head2 C + +=over 4 + +=item * L + +=back + +=cut + +__PACKAGE__->add_unique_constraint("userid", ["userid"]); + =head1 RELATIONS =head2 accountlines @@ -1117,8 +1129,8 @@ Composing rels: L -> course __PACKAGE__->many_to_many("courses", "course_instructors", "course"); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-11-14 09:56:24 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UGa+abq4uilkf0nImxun/w +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-12-31 14:08:18 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mOTD/GsDpo3RPjUjTHrLRQ # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5