chore: fix failing checks

This commit is contained in:
Toni Devine 2026-09-18 16:48:12 +01:00
parent fa094ffadd
commit a83e943ea0
No known key found for this signature in database

View File

@ -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 });