mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Plugins: Add backward-keys
This commit is contained in:
@@ -121,7 +121,7 @@ FROM information_schema.KEY_COLUMN_USAGE
|
||||
WHERE TABLE_SCHEMA = " . q($this->database()) . "
|
||||
AND REFERENCED_TABLE_SCHEMA = " . q($this->database()) . "
|
||||
AND REFERENCED_TABLE_NAME = " . q($table) . "
|
||||
ORDER BY ORDINAL_POSITION", null, "") as $row //! requires MySQL 5
|
||||
ORDER BY ORDINAL_POSITION", null, "") as $row
|
||||
) {
|
||||
$return[$row["TABLE_NAME"]]["keys"][$row["CONSTRAINT_NAME"]][$row["COLUMN_NAME"]] = $row["REFERENCED_COLUMN_NAME"];
|
||||
}
|
||||
|
Reference in New Issue
Block a user