projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Some cleanups and code dedup of Top and FetchFirst limit dialects
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
Owners.pm
diff --git
a/t/lib/DBICTest/Schema/Owners.pm
b/t/lib/DBICTest/Schema/Owners.pm
index
7b021e6
..
600980f
100644
(file)
--- a/
t/lib/DBICTest/Schema/Owners.pm
+++ b/
t/lib/DBICTest/Schema/Owners.pm
@@
-16,6
+16,8
@@
__PACKAGE__->add_columns(
);
__PACKAGE__->set_primary_key('id');
+__PACKAGE__->add_unique_constraint(['name']);
+
__PACKAGE__->has_many(books => "DBICTest::Schema::BooksInLibrary", "owner");
1;