18 lines
483 B
TypeScript
18 lines
483 B
TypeScript
|
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||
|
|
||
|
export class pcke1670052416869 implements MigrationInterface {
|
||
|
name = 'pcke1670052416869';
|
||
|
|
||
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
||
|
await queryRunner.query(
|
||
|
`ALTER TABLE \`o_auth2_token\` ADD \`pcke\` text NULL`,
|
||
|
);
|
||
|
}
|
||
|
|
||
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
||
|
await queryRunner.query(
|
||
|
`ALTER TABLE \`o_auth2_token\` DROP COLUMN \`pcke\``,
|
||
|
);
|
||
|
}
|
||
|
}
|