deckhearth/api
Randall Stillwell bf569360cf Add auto-migration for OCR settings column
🔄 Database Auto-Migration:
- Add automatic schema update in user preferences API
- Ensures ocr_settings column exists when first accessed
- Uses ADD COLUMN IF NOT EXISTS for safe migration
- Handles case where column might already exist
- No need for separate migration endpoint

This ensures the settings page will work immediately after deployment
without requiring manual database updates.
2025-07-22 10:57:20 -05:00
..
admin Fix Vercel function limit and eslint warnings 2025-07-22 10:56:54 -05:00
auth Remove conflicting TypeScript API files 2025-07-22 06:55:09 -05:00
cards Implement complete card scanning and collection flow - ready for local testing 2025-07-22 08:01:20 -05:00
collections Implement complete card scanning and collection flow - ready for local testing 2025-07-22 08:01:20 -05:00
user Add auto-migration for OCR settings column 2025-07-22 10:57:20 -05:00
setup-auth.js Convert auth endpoints to working Vercel function format 2025-07-22 06:46:09 -05:00
tsconfig.json Fix Vercel ES module import issues 2025-07-21 16:12:24 -05:00