Skip to content

Commit

Permalink
fix foreign key columns order in Oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
deeky666 committed Dec 28, 2013
1 parent d473423 commit b3b2e9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Doctrine/DBAL/Platforms/OraclePlatform.php
Expand Up @@ -558,7 +558,8 @@ public function getListTableForeignKeysSQL($table)
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";
}

/**
Expand Down

0 comments on commit b3b2e9f

Please sign in to comment.