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