Commit Graph

8 Commits

Author SHA1 Message Date
0c84b83e75 feat(db): add is_external flag to dogs table with safe ALTER TABLE migration 2026-03-10 15:23:35 -05:00
9b43bdab99 fix(db): add vet_name, result, next_due to healthMigrations ALTER TABLE guards
Existing databases were missing these 3 columns because they were defined
in the CREATE TABLE but not in the healthMigrations array used for
ALTER TABLE on pre-existing DBs. This caused the 'table health_records
has no column named vet_name' error in the Add Health Record modal.
2026-03-10 12:52:04 -05:00
91ad50655c feat(db): Phase 4b schema — OFA clearances, genetic_tests, cancer_history, eligibility fields 2026-03-09 23:21:44 -05:00
6903e66419 feat(db): add is_champion to dogs, kennel settings columns, migrate existing rows 2026-03-09 22:23:41 -05:00
683fef7e9c feat: add is_champion column to dogs table and settings table 2026-03-09 22:00:40 -05:00
3ae3458dfc Clean: Fresh database init with parents table - no migrations 2026-03-09 01:59:52 -05:00
bb0f5dd9b8 Fix: Remove UNIQUE constraint from microchip field to allow NULL values 2026-03-08 23:39:22 -05:00
d99a7b0622 Add database initialization and schema 2026-03-08 22:43:51 -05:00