mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-25 13:01:00 +03:00
12 lines
442 B
TypeScript
12 lines
442 B
TypeScript
import { MigrationInterface, QueryRunner } from 'typeorm'
|
|
|
|
export class AddAnalytic1694432361423 implements MigrationInterface {
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(`ALTER TABLE "chat_flow" ADD COLUMN "analytic" TEXT;`)
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(`ALTER TABLE "chat_flow" DROP COLUMN "analytic";`)
|
|
}
|
|
}
|