diff --git a/apps/server/src/persistence/Migrations/020_SmeConversationProviderAuth.ts b/apps/server/src/persistence/Migrations/020_SmeConversationProviderAuth.ts index 192705fe5..9c3ee26fb 100644 --- a/apps/server/src/persistence/Migrations/020_SmeConversationProviderAuth.ts +++ b/apps/server/src/persistence/Migrations/020_SmeConversationProviderAuth.ts @@ -7,12 +7,12 @@ export default Effect.gen(function* () { yield* sql` ALTER TABLE sme_conversations ADD COLUMN provider TEXT NOT NULL DEFAULT 'claudeAgent' - `.pipe(Effect.catch(() => Effect.void)); + `.pipe(Effect.catchCause(() => Effect.void)); yield* sql` ALTER TABLE sme_conversations ADD COLUMN auth_method TEXT NOT NULL DEFAULT 'auto' - `.pipe(Effect.catch(() => Effect.void)); + `.pipe(Effect.catchCause(() => Effect.void)); yield* sql` UPDATE sme_conversations diff --git a/apps/server/src/persistence/Migrations/025_CanonicalizeModelSelections.ts b/apps/server/src/persistence/Migrations/025_CanonicalizeModelSelections.ts index 57fdd8807..ef86ff101 100644 --- a/apps/server/src/persistence/Migrations/025_CanonicalizeModelSelections.ts +++ b/apps/server/src/persistence/Migrations/025_CanonicalizeModelSelections.ts @@ -7,12 +7,12 @@ export default Effect.gen(function* () { yield* sql` ALTER TABLE projection_projects ADD COLUMN default_model_selection TEXT - `.pipe(Effect.catch(() => Effect.void)); + `.pipe(Effect.catchCause(() => Effect.void)); yield* sql` ALTER TABLE projection_threads ADD COLUMN model_selection TEXT - `.pipe(Effect.catch(() => Effect.void)); + `.pipe(Effect.catchCause(() => Effect.void)); yield* sql` UPDATE projection_projects diff --git a/apps/server/src/persistence/Migrations/025_ProjectionProjectIconPath.ts b/apps/server/src/persistence/Migrations/025_ProjectionProjectIconPath.ts index 62d3a49d6..2297980c8 100644 --- a/apps/server/src/persistence/Migrations/025_ProjectionProjectIconPath.ts +++ b/apps/server/src/persistence/Migrations/025_ProjectionProjectIconPath.ts @@ -7,5 +7,5 @@ export default Effect.gen(function* () { yield* sql` ALTER TABLE projection_projects ADD COLUMN icon_path TEXT - `.pipe(Effect.catch(() => Effect.void)); + `.pipe(Effect.catchCause(() => Effect.void)); }); diff --git a/apps/server/src/persistence/Migrations/027_CanonicalizeModelSelectionsBackfill.ts b/apps/server/src/persistence/Migrations/027_CanonicalizeModelSelectionsBackfill.ts index fb5913f7b..30afc39c1 100644 --- a/apps/server/src/persistence/Migrations/027_CanonicalizeModelSelectionsBackfill.ts +++ b/apps/server/src/persistence/Migrations/027_CanonicalizeModelSelectionsBackfill.ts @@ -81,12 +81,12 @@ export default Effect.gen(function* () { yield* sql` ALTER TABLE projection_projects ADD COLUMN default_model_selection TEXT - `.pipe(Effect.catch(() => Effect.void)); + `.pipe(Effect.catchCause(() => Effect.void)); yield* sql` ALTER TABLE projection_threads ADD COLUMN model_selection TEXT - `.pipe(Effect.catch(() => Effect.void)); + `.pipe(Effect.catchCause(() => Effect.void)); const projectRows = yield* sql` SELECT