@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 14 lines 647 Bytes
Raw
1 import * as Effect from "effect/Effect";
2 import * as SqlClient from "effect/sql/SqlClient";
3
4 // V2 never reads these copied V1 projections; pre-0.1.0 builds use state.sqlite, preserving rollback.
5 export default Effect.gen(function* () {
6 const sql = yield* SqlClient.SqlClient;
7
8 yield* sql`DROP TABLE IF EXISTS projection_thread_activities`;
9 yield* sql`DROP TABLE IF EXISTS projection_turns`;
10 yield* sql`DROP TABLE IF EXISTS projection_thread_proposed_plans`;
11 yield* sql`DROP TABLE IF EXISTS projection_pending_approvals`;
12 yield* sql`DROP TABLE IF EXISTS projection_state`;
13 yield* sql`DROP TABLE IF EXISTS checkpoint_diff_blobs`;
14 });