export class AddFileImageAccessToken1778361904715 {
    constructor() {
        this.name = "AddFileImageAccessToken1778361904715";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "File" ADD "imageAccessToken" character varying(100)`);
        await queryRunner.query(`ALTER TABLE "File" ADD CONSTRAINT "UQ_1b6a1da6fbbcdb5c30e3b913286" UNIQUE ("imageAccessToken")`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "File" DROP CONSTRAINT "UQ_1b6a1da6fbbcdb5c30e3b913286"`);
        await queryRunner.query(`ALTER TABLE "File" DROP COLUMN "imageAccessToken"`);
    }
}
//# sourceMappingURL=1778361904715-AddFileImageAccessToken.js.map