mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-26 03:01:12 +03:00
add mysql modify chat_message
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm'
|
||||
|
||||
export class ModifyChatMessage1693999022236 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE \`chat_message\` MODIFY \`sourceDocuments\` TEXT;`)
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE \`chat_message\` MODIFY \`sourceDocuments\` VARCHAR;`)
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Init1693840429259 } from './1693840429259-Init'
|
||||
import { ModifyChatFlow1693997791471 } from './1693997791471-ModifyChatFlow'
|
||||
import { ModifyChatMessage1693999022236 } from './1693999022236-ModifyChatMessage'
|
||||
|
||||
export const mysqlMigrations = [Init1693840429259, ModifyChatFlow1693997791471]
|
||||
export const mysqlMigrations = [Init1693840429259, ModifyChatFlow1693997791471, ModifyChatMessage1693999022236]
|
||||
|
||||
Reference in New Issue
Block a user