parent
4d6267d40a
commit
c3c297a9a5
@ -0,0 +1,17 @@
|
||||
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\``,
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in new issue