Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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));
});
Original file line number Diff line number Diff line change
Expand Up @@ -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<ProjectRow>`
SELECT
Expand Down