standardnotes-server/packages/auth/migrations/1635167238332-remove_spreadsheets_from_plus_plan.ts
2022-06-22 12:33:00 +02:00

15 lines
515 B
TypeScript

import { MigrationInterface, QueryRunner } from 'typeorm'
export class removeSpreadsheetsFromPlusPlan1635167238332 implements MigrationInterface {
name = 'removeSpreadsheetsFromPlusPlan1635167238332'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
'DELETE FROM `role_permissions` WHERE role_uuid="dee6e144-724b-4450-86d1-cc784770b2e2" AND permission_uuid="2ce06684-1f3d-45ee-87c1-df7b4447801b"',
)
}
public async down(): Promise<void> {
return
}
}