Commit 90e0d8fe authored by Steve Müller's avatar Steve Müller Committed by Benjamin Eberlei

fix foreign key columns order in Oracle

parent 2180ab19
......@@ -473,7 +473,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";
}
public function getListTableConstraintsSQL($table)
......
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