diff --git a/src/drivers/MysqlDriver.ts b/src/drivers/MysqlDriver.ts index 7ae30d2..ddc3313 100644 --- a/src/drivers/MysqlDriver.ts +++ b/src/drivers/MysqlDriver.ts @@ -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,