Bug 1861: (RM followup) DNIx updates
authorTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 31 Dec 2014 17:09:00 +0000 (14:09 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 31 Dec 2014 17:09:00 +0000 (14:09 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Koha/Schema/Result/Borrower.pm

index 1c401ad..4dbd0ce 100644 (file)
@@ -604,6 +604,18 @@ __PACKAGE__->set_primary_key("borrowernumber");
 
 __PACKAGE__->add_unique_constraint("cardnumber", ["cardnumber"]);
 
+=head2 C<userid>
+
+=over 4
+
+=item * L</userid>
+
+=back
+
+=cut
+
+__PACKAGE__->add_unique_constraint("userid", ["userid"]);
+
 =head1 RELATIONS
 
 =head2 accountlines
@@ -1117,8 +1129,8 @@ Composing rels: L</course_instructors> -> 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