mirror of
https://github.com/directus/directus.git
synced 2026-01-23 00:28:10 -05:00
Fix MySQL not correctly scoping columns to database
This commit is contained in:
@@ -20,7 +20,7 @@ export default class MySQL extends KnexMySQL implements SchemaInspector {
|
||||
INFORMATION_SCHEMA.TABLES AS T ON C.TABLE_NAME = T.TABLE_NAME
|
||||
WHERE
|
||||
T.TABLE_TYPE = 'BASE TABLE' AND
|
||||
T.TABLE_SCHEMA = ?;
|
||||
C.TABLE_SCHEMA = ?;
|
||||
`,
|
||||
[this.knex.client.database()]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user