1635167238332-remove_spreadsheets_from_plus_plan.ts 515 B

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