export class MigrationName1755109893911 {
    constructor() {
        this.name = "MigrationName1755109893911";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "PushNotificationLog" ADD "deviceName" character varying(100)`);
        await queryRunner.query(`ALTER TABLE "WorkspaceNotificationLog" ALTER COLUMN "actionType" SET DEFAULT 'SendMessage'`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "WorkspaceNotificationLog" ALTER COLUMN "actionType" SET DEFAULT 'MessageSent'`);
        await queryRunner.query(`ALTER TABLE "PushNotificationLog" DROP COLUMN "deviceName"`);
    }
}
//# sourceMappingURL=1755109893911-MigrationName.js.map