projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add an add_index method on ResultSource (and proxy classes)
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
Artist.pm
diff --git
a/t/lib/DBICTest/Schema/Artist.pm
b/t/lib/DBICTest/Schema/Artist.pm
index
90eb7bf
..
a412bf0
100644
(file)
--- a/
t/lib/DBICTest/Schema/Artist.pm
+++ b/
t/lib/DBICTest/Schema/Artist.pm
@@
-41,4
+41,6
@@
__PACKAGE__->has_many(
{ cascade_copy => 0 } # this would *so* not make sense
);
+__PACKAGE__->add_index({ name => 'artist_name', fields => ['name'],});
+
1;