mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 05:29:44 +02:00
chore: fix failing checks
This commit is contained in:
parent
fa094ffadd
commit
a83e943ea0
|
|
@ -5,7 +5,7 @@ const COLUMN = 'integrationType';
|
|||
const VALUES_BEFORE = ['telegram', 'slack', 'linear', 'discord'];
|
||||
const VALUES_AFTER = [...VALUES_BEFORE, 'whatsapp'];
|
||||
|
||||
export class AllowWhatsAppAgentChatSubscriptions1789450000000 implements ReversibleMigration {
|
||||
export class AllowWhatsAppAgentChatSubscriptions1789746183484 implements ReversibleMigration {
|
||||
async up({ schemaBuilder }: MigrationContext) {
|
||||
await schemaBuilder.dropEnumCheck(TABLE, COLUMN, { recreatesOnSqlite: true });
|
||||
await schemaBuilder.addEnumCheck(TABLE, COLUMN, VALUES_AFTER, { recreatesOnSqlite: true });
|
||||
Loading…
Reference in New Issue
Block a user