mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
11 lines
515 B
TypeScript
11 lines
515 B
TypeScript
import { updateCurrentEnvironmentId } from '@helpers/migration.helper';
|
|
import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
|
|
export class BackFillCurrentEnvironmentId1686829426671 implements MigrationInterface {
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
//back fill current_environment_id to production env id
|
|
await updateCurrentEnvironmentId(queryRunner.manager, 'BackFillCurrentEnvironmentId1686829426671');
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {}
|
|
}
|