projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
65ab592
)
Make sure to get the constraint columns in the right order.
Dagfinn Ilmari Mannsåker [Tue, 5 Feb 2008 16:32:20 +0000 (16:32 +0000)]
lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
b/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
index
e687e75
..
3be38e2
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
+++ b/
lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
@@
-83,6
+83,7
@@
sub _table_uniq_info {
SELECT constraint_name, ucc.column_name
FROM user_constraints JOIN user_cons_columns ucc USING (constraint_name)
WHERE ucc.table_name=? AND constraint_type='U'
+ ORDER BY ucc.position
},
{}, 1);