Skip to content

Commit

Permalink
fix: Fix credentials_entity table migration for mysql (#3979)
Browse files Browse the repository at this point in the history
Fixed table not found
  • Loading branch information
TzachiSh committed Aug 30, 2022
1 parent 15d5ac6 commit 349826e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class CreateUserManagement1646992772331 implements MigrationInterface {
);

await queryRunner.query(
`INSERT INTO ${tablePrefix}shared_credentials (createdAt, updatedAt, roleId, userId, credentialsId) SELECT NOW(), NOW(), '${credentialOwnerRole[0].insertId}', '${ownerUserId}', id FROM ${tablePrefix} credentials_entity`,
`INSERT INTO ${tablePrefix}shared_credentials (createdAt, updatedAt, roleId, userId, credentialsId) SELECT NOW(), NOW(), '${credentialOwnerRole[0].insertId}', '${ownerUserId}', id FROM ${tablePrefix}credentials_entity`,
);

await queryRunner.query(
Expand Down

0 comments on commit 349826e

Please sign in to comment.