fix: add missing coat_type enum values (GRO-1971) #118

Merged
The Dogfather merged 1 commits from fix/gro-1971-coat-type-enum-missing-short into dev 2026-05-31 23:09:36 +00:00
Member
No description provided.
The Dogfather force-pushed fix/gro-1971-coat-type-enum-missing-short from 4911ad803a to ff1de7f77d 2026-05-31 23:06:10 +00:00 Compare
The Dogfather added 1 commit 2026-05-31 23:08:46 +00:00
fix: add missing 'short'/'medium'/'silky' to coat_type enum (GRO-1971)
CI / Test (pull_request) Successful in 12s
CI / Lint & Typecheck (pull_request) Successful in 16s
CI / Build & Push Docker Images (pull_request) Successful in 1m2s
707e74e6e1
Migration 0031_buffer_rules.sql created coat_type enum with values
('smooth', 'double', 'wire', 'curly', 'long', 'hairless') but omitted
'short', 'medium', and 'silky' which are defined in schema.ts and
required by seed.ts.

Added 0035_add_missing_coat_type_values.sql to add the missing values
using ALTER TYPE ... ADD VALUE IF NOT EXISTS.

This resolves the UAT seed failure:
  PostgresError: invalid input value for enum coat_type: "short"
  code: '22P02' routine: 'enum_in' (packages/db/src/seed.ts)

Dev→UAT SDLC: QA (Lint Roller) review, then CTO review.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
The Dogfather force-pushed fix/gro-1971-coat-type-enum-missing-short from ff1de7f77d to 707e74e6e1 2026-05-31 23:08:46 +00:00 Compare
The Dogfather merged commit dd220598ca into dev 2026-05-31 23:09:36 +00:00
Sign in to join this conversation.