projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
72cbfae
)
improve uniq_to_primary test
Rafael Kitover [Tue, 7 Jun 2011 06:02:22 +0000 (
02:02
-0400)]
t/lib/dbixcsl_common_tests.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/dbixcsl_common_tests.pm
b/t/lib/dbixcsl_common_tests.pm
index
e8b3225
..
f15f949
100644
(file)
--- a/
t/lib/dbixcsl_common_tests.pm
+++ b/
t/lib/dbixcsl_common_tests.pm
@@
-1435,7
+1435,10
@@
sub create {
id INTEGER NOT NULL UNIQUE,
id1 INTEGER NOT NULL,
id2 INTEGER NOT NULL,
- UNIQUE (id1, id2)
+ id3 INTEGER $self->{null},
+ id4 INTEGER NOT NULL,
+ UNIQUE (id1, id2),
+ UNIQUE (id3, id4)
) $self->{innodb}
},
);