diff --git a/.gitignore b/.gitignore index cd4b1e7..0caa7c1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ sample_data/data # Legacy versions .cmd-old/ pkg/.testapp +.claude diff --git a/doc/TODO.txt b/doc/TODO.txt index 9b2172e..dfb0859 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -26,6 +26,14 @@ TODO: language-server-for-TODO.txt TODO: auto-migration-checker - Use `pkg/schema` to test whether a base schema plus a migration equals a new schema +TODO: codegen SaveXyz update path doesn't check foreign keys +- Insert path has FK error handling, but the update path wraps everything in Must +- An update that violates an FK constraint will panic instead of returning an error + TODO: codegen `without rowid` tables properly TODO: generated test file inclues global test DB setup, which is wrong + +TODO: join-tables +- handle codegen for without rowid tables properly +- add "get all " diff --git a/ops/devcontainer/start.sh b/ops/devcontainer/start.sh index e7266fc..1babf4a 100755 --- a/ops/devcontainer/start.sh +++ b/ops/devcontainer/start.sh @@ -7,6 +7,7 @@ sudo docker run --rm -it \ -v "$(go env GOMODCACHE):/gocache-vol/mod-cache" \ -e GOMODCACHE=/gocache-vol/mod-cache \ -e GOLANGCI_LINT_CACHE=/gocache-vol/lint-cache \ + -v /memory:/memory \ --workdir /code \ --net host \ gas