1678340701766-remove-authenticator-names-from-server.ts 413 B

12345678910111213
  1. import { MigrationInterface, QueryRunner } from 'typeorm'
  2. export class removeAuthenticatorNamesFromServer1678340701766 implements MigrationInterface {
  3. name = 'removeAuthenticatorNamesFromServer1678340701766'
  4. public async up(queryRunner: QueryRunner): Promise<void> {
  5. await queryRunner.query('ALTER TABLE `authenticators` DROP COLUMN `name`')
  6. }
  7. public async down(): Promise<void> {
  8. return
  9. }
  10. }