mirror of
https://github.com/spacebarchat/server.git
synced 2026-06-08 00:01:53 +00:00
feat: interactions (incomplete)
This commit is contained in:
@@ -0,0 +1,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"`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user