mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 21:08:12 +00:00
add goverment booking
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddSavedSignatureStamp3090000000000 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`
|
||||
ALTER TABLE freight.saved_signatures
|
||||
ADD COLUMN IF NOT EXISTS stamp_file_id UUID NULL;
|
||||
`);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`
|
||||
ALTER TABLE freight.saved_signatures
|
||||
DROP COLUMN IF EXISTS stamp_file_id;
|
||||
`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user