Commit 9a56dde4 authored by Steve Müller's avatar Steve Müller Committed by Benjamin Eberlei

fix foreign key columns order in Oracle

parent c9fb884d
......@@ -505,7 +505,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