import { MigrationInterface, QueryRunner } from "typeorm"; export class AddSoftDeleteToUserSubscription1770464625677 implements MigrationInterface { name = 'AddSoftDeleteToUserSubscription1770464625677' public async up(queryRunner: QueryRunner): Promise { await queryRunner.query(`ALTER TABLE "user_subscription" ADD "deletedAt" TIMESTAMP WITH TIME ZONE`); } public async down(queryRunner: QueryRunner): Promise { await queryRunner.query(`ALTER TABLE "user_subscription" DROP COLUMN "deletedAt"`); } }