Commit Graph

4 Commits

Author SHA1 Message Date
Scott McKendry db911a41c3 refactor(db): cleanup sqlc-wrapper gen 2026-05-10 07:59:32 +12:00
Scott McKendry ef8bbd8c9f feat(db): add memory storage driver
removes the sqlite dependency for tests, also brings back the option for
users to run zero persistence instances of tinyauth.

adds new mapErr fn for sqlc wrapper gen to prevent sql errors from
leaking out of the store implementation.
2026-05-10 07:59:32 +12:00
Scott McKendry 9566105245 feat(db): add code gen to build sqlc-compatible wrappers 2026-05-10 07:50:33 +12:00
Scott McKendry 7e9d21462d refactor(db): use new store interface 2026-05-10 07:49:54 +12:00