fix(db): add vet_name, result, next_due to healthMigrations ALTER TABLE guards #38

Merged
jason merged 1 commits from fix/health-records-missing-columns into master 2026-03-10 12:52:41 -05:00
Owner

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.

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.
jason added 1 commit 2026-03-10 12:52:37 -05:00
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.
jason merged commit 4e5b695c22 into master 2026-03-10 12:52:41 -05:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jason/breedr#38