mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-23 05:00:23 +03:00
add postgres modify credential
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm'
|
||||
|
||||
export class ModifyCredential1693997070000 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE "credential" ALTER COLUMN "encryptedData" TYPE TEXT`)
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE "credential" ALTER COLUMN "encryptedData" TYPE VARCHAR`)
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,11 @@
|
||||
import { Init1693891895163 } from './1693891895163-Init'
|
||||
import { ModifyChatFlow1693995626941 } from './1693995626941-ModifyChatFlow'
|
||||
import { ModifyChatMessage1693996694528 } from './1693996694528-ModifyChatMessage'
|
||||
import { ModifyCredential1693997070000 } from './1693997070000-ModifyCredential'
|
||||
|
||||
export const postgresMigrations = [Init1693891895163, ModifyChatFlow1693995626941, ModifyChatMessage1693996694528]
|
||||
export const postgresMigrations = [
|
||||
Init1693891895163,
|
||||
ModifyChatFlow1693995626941,
|
||||
ModifyChatMessage1693996694528,
|
||||
ModifyCredential1693997070000
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user