Skip to content

Commit

Permalink
migration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Oct 29, 2023
1 parent 65c778f commit e2fdb37
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/db/migrations/1698344457835-new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ export class New1698344457835 implements MigrationInterface {
await queryRunner.query(
`ALTER TABLE "children_pre_register_entity" ADD CONSTRAINT "FK_2b2ec4ae41b2b9a3c6a48054d45" FOREIGN KEY ("locationId") REFERENCES "location_entity"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`,
);
await queryRunner.query(
`ALTER TABLE "ngo_entity" ADD CONSTRAINT "FK_6ec8a85276e7c6122fbd237210a" FOREIGN KEY ("locationId") REFERENCES "location_entity"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`,
);
}

public async down(queryRunner: QueryRunner): Promise<void> {
Expand Down

0 comments on commit e2fdb37

Please sign in to comment.