feat(db): add 0035_extend_pet_enums — adds missing coat_type (short/medium/silky) and pet_size_category (extra_large) values
CI / Test (pull_request) Successful in 12s
CI / Lint & Typecheck (pull_request) Successful in 15s
CI / Build & Push Docker Images (pull_request) Successful in 1m6s

GRO-1979: The coat_type and pet_size_category enums were captured in the
schema snapshot (0034_extend_pet_profile_columns) with their full value
sets, but the SQL migration 0034 only added new columns and never ran
ALTER TYPE ADD VALUE. The drizzle journal therefore had no entry for
these enum extensions, so they were never applied to UAT.

This new migration (0035) runs the ALTER TYPE ADD VALUE statements
(non-transactional per Postgres restriction) to register short, medium,
and silky in coat_type, and extra_large in pet_size_category.

The journal is also updated to include idx 35 for this migration.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Flea Flicker
2026-06-01 00:42:05 +00:00
parent 56b20a3457
commit 2fee69b61c
2 changed files with 25 additions and 0 deletions
@@ -246,6 +246,13 @@
"when": 1751140800000,
"tag": "0034_extend_pet_profile_columns",
"breakpoints": true
},
{
"idx": 35,
"version": "7",
"when": 1751300000000,
"tag": "0035_extend_pet_enums",
"breakpoints": true
}
]
}