1692348191367-add-transition-role.ts 413 B

12345678910111213
  1. import { MigrationInterface, QueryRunner } from 'typeorm'
  2. export class AddTransitionRole1692348191367 implements MigrationInterface {
  3. public async up(queryRunner: QueryRunner): Promise<void> {
  4. await queryRunner.query(
  5. 'INSERT INTO `roles` (uuid, name, version) VALUES ("e7381dc5-3d67-49e9-b7bd-f2407b2f726e", "TRANSITION_USER", 1)',
  6. )
  7. }
  8. public async down(): Promise<void> {
  9. return
  10. }
  11. }