blob: 2b4afed7ce2f0740f05c590ea7c52d6ca10717d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { MigrationInterface, QueryRunner } from "typeorm";
export class MessageInteractionMetadata1760694225225 implements MigrationInterface {
name = "MessageInteractionMetadata1760694225225";
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "messages" ADD "interaction_metadata" text`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "messages" DROP COLUMN "interaction_metadata"`);
}
}
|