Skip to content

Commit

Permalink
Update migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ramraut-osm committed May 2, 2024
1 parent 7ab1553 commit 200591c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/database/migrations/1714633736953-JobDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export class JobDetails1714633736953 implements MigrationInterface {

public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`DROP TABLE \`jobs\``);
await queryRunner.dropForeignKey('input_file_key', 'input_file');
await queryRunner.dropForeignKey('output_file_key', 'output_file');
await queryRunner.dropForeignKey('jobs', 'input_file');
await queryRunner.dropForeignKey('jobs', 'output_file');

}

Expand Down

0 comments on commit 200591c

Please sign in to comment.