Merge pull request #124 from KevinGuancheDarias/issue-123

Fix problem reported in issue #123
This commit is contained in:
Kononnable 2018-12-13 20:12:05 +01:00 committed by GitHub
commit 2c224060d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,