add dpage permission

This commit is contained in:
2026-03-12 22:54:03 +03:30
parent deb7610c5c
commit 584e4d7981
5 changed files with 47 additions and 0 deletions
@@ -0,0 +1,14 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class AddCountToPlan1773307633674 implements MigrationInterface {
name = 'AddCountToPlan1773307633674'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "subscription_plan" ADD "count" integer`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "subscription_plan" DROP COLUMN "count"`);
}
}