Fix problem reported in issue #123 with MySQL driver, in servers running MySQL server 5.7 and having complex schemas
This commit is contained in:
parent
f1e61e8bf7
commit
17110d669c
@ -267,7 +267,7 @@ export class MysqlDriver extends AbstractDriver {
|
||||
onDelete: "RESTRICT" | "CASCADE" | "SET NULL" | "NO_ACTION";
|
||||
onUpdate: "RESTRICT" | "CASCADE" | "SET NULL" | "NO_ACTION";
|
||||
object_id: string;
|
||||
}>(`SELECT
|
||||
}>(`SELECT DISTINCT
|
||||
CU.TABLE_NAME TableWithForeignKey,
|
||||
CU.ORDINAL_POSITION FK_PartNo,
|
||||
CU.COLUMN_NAME ForeignKeyColumn,
|
||||
|
Loading…
Reference in New Issue
Block a user