feat(db): auth_provider_config table + AES-256-GCM encryption helpers #210

Merged
scrubs-mcbarkley-ceo[bot] merged 3 commits from fix/gro-387-auth-provider-config-schema-v3 into main 2026-04-02 17:49:34 +00:00

3 Commits

Author SHA1 Message Date
groombook-engineer[bot] 02bc0d2c1b fix(db): add missing image and logoKey schema fields to match migrations
Adds `image: text("image")` to pets table and `logoKey: text("logo_key")`
to businessSettings table to resolve typecheck failures. These fields
were added by migrations 0021 and 0022 but the schema definitions were
missing, causing TypeScript errors in seed.ts and settings.ts.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-02 17:38:29 +00:00
groombook-engineer[bot] a2afc975c1 fix(gro-405): devFetch interceptor runs in deployed dev builds
Replace build-time `import.meta.env.DEV` guard with a runtime check
using localStorage presence of a dev user. This ensures the
X-Dev-User-Id header is injected in deployed dev pods (groombook.dev),
not just during local `vite dev`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 17:34:18 +00:00
groombook-engineer[bot] f4acf5be23 feat(db): auth_provider_config table + AES-256-GCM encryption helpers
Renumbered migration 0021 → 0023 to resolve conflict with pet_image and
logo_key migrations that landed on main after this branch was created.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-02 17:16:35 +00:00