import { MigrationInterface, QueryRunner } from "typeorm"; export class v1231579282808087 implements MigrationInterface { constructor() { this.name = "v1231579282808087"; } async up(queryRunner: QueryRunner): Promise { await queryRunner.query( `ALTER TABLE "announcement" ADD "updatedAt" TIMESTAMP WITH TIME ZONE`, undefined, ); } async down(queryRunner: QueryRunner): Promise { await queryRunner.query( `ALTER TABLE "announcement" DROP COLUMN "updatedAt"`, undefined, ); } }