2fee69b61cef844048fa0bdf730412c9153f2f08
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>
GroomBook API
GroomBook API service — extracted from the groombook/app monorepo.
Overview
This repository contains the GroomBook API service, including:
- REST API endpoints
- Database schema and migrations (via Drizzle ORM)
- Authentication (via Better Auth)
- Background job handlers
Structure
src/ # API service source
packages/db/ # Database schema, migrations, and utilities
packages/types/ # Shared TypeScript types
Setup
pnpm install
cp .env.example .env # Fill in required environment variables
pnpm --filter @groombook/api dev
Docker
docker build -t ghcr.io/groombook/api:latest .
docker run -p 3000:3000 ghcr.io/groombook/api:latest
License
AGPL-3.0-only
Description
Languages
TypeScript
99.3%
JavaScript
0.4%
Dockerfile
0.2%