Commit 9bc6cd02 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #474 from deeky666/fix-oracle-list-composite-foreign-keys

Fix foreign key columns order in Oracle
parents 7068357d b3b2e9fd
......@@ -558,7 +558,8 @@ LEFT JOIN user_cons_columns r_cols
AND cols.position = r_cols.position
WHERE alc.constraint_name = cols.constraint_name
AND alc.constraint_type = 'R'
AND alc.table_name = '".$table."'";
AND alc.table_name = '".$table."'
ORDER BY alc.constraint_name ASC, cols.position ASC";
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment