@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 17 lines 417 Bytes
Raw
1 import * as Effect from "effect/Effect";
2 import * as SqlClient from "effect/sql/SqlClient";
3
4 export default Effect.gen(function* () {
5 const sql = yield* SqlClient.SqlClient;
6
7 yield* sql`
8 ALTER TABLE projection_threads
9 ADD COLUMN runtime_mode TEXT NOT NULL DEFAULT 'full-access'
10 `;
11
12 yield* sql`
13 UPDATE projection_threads
14 SET runtime_mode = 'full-access'
15 WHERE runtime_mode IS NULL
16 `;
17 });