Skip to content

Commit

Permalink
removed foreignkeys query from migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
li0nbelenky committed Feb 27, 2022
1 parent 92b1c49 commit d0fdd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/mysql/MysqlQueryRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ export class MysqlQueryRunner extends BaseQueryRunner implements QueryRunner {
// WHERE \`rc\`.\`CONSTRAINT_SCHEMA\` = '${this.driver.database || currentDatabase}'
// `;

const [dbTables, dbColumns, dbPrimaryKeys, dbCollations, dbIndices, dbForeignKeys]: ObjectLiteral[][] = await Promise.all([
const [dbTables, dbColumns, dbPrimaryKeys, dbCollations, dbIndices]: ObjectLiteral[][] = await Promise.all([
this.query(tablesSql),
this.query(columnsSql),
this.query(primaryKeySql),
Expand Down

0 comments on commit d0fdd73

Please sign in to comment.