Skip to content

Add L1 local DB schema and types - #1

Open
Midhat-kazmi wants to merge 2 commits into
devweekends:mainfrom
Midhat-kazmi:feat/l1-local-db
Open

Midhat-kazmi wants to merge 2 commits into
devweekends:mainfrom
Midhat-kazmi:feat/l1-local-db

Conversation

@Midhat-kazmi

Copy link
Copy Markdown

L1: local database contract for ~/.codehands/state.db (SQLite).

Added (no existing file changed except one export line in index.ts):

sql/001_init.sql: tables, with the writer named above each one
src/local-db.ts: row types and TABLE_WRITERS (who may write each table)
test/local-db.test.ts: fails if the SQL and TypeScript drift apart, or the status list drifts from session.ts

@Midhat-kazmi

Copy link
Copy Markdown
Author

I've resolved the merge conflict in the L1 Local DB Contract PR.

The PR is now conflict-free, but the GitHub Actions workflow is awaiting maintainer approval.

Could you please approve the workflow and review the PR?

#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants