export class MigrationName1770834237091 {
    constructor() {
        this.name = "MigrationName1770834237091";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "GlobalConfig" ADD "disableUserProjectCreation" boolean DEFAULT false`);
        await queryRunner.query(`ALTER TABLE "GlobalConfig" ADD CONSTRAINT "UQ_disableUserProjectCreation" UNIQUE ("disableUserProjectCreation")`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "GlobalConfig" DROP CONSTRAINT "UQ_disableUserProjectCreation"`);
        await queryRunner.query(`ALTER TABLE "GlobalConfig" DROP COLUMN "disableUserProjectCreation"`);
    }
}
//# sourceMappingURL=1770834237091-MigrationName.js.map