dockerfile/examples/standardnotes/official-src/server-main/packages/auth/migrations/mysql/1697704066569-remove-transition-role.ts

12 lines
342 B
TypeScript

import { MigrationInterface, QueryRunner } from 'typeorm'
export class RemoveTransitionRole1697704066569 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query('DELETE FROM `roles` WHERE name = "TRANSITION_USER"')
}
public async down(): Promise<void> {
return
}
}