Commit b3b2e9fd authored by Steve Müller's avatar Steve Müller

fix foreign key columns order in Oracle

parent d473423d
......@@ -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