Fix mobile validation, cascade delete for businesses/categories, and DB error handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-21 14:20:46 +03:30
co-authored by Cursor
parent 97abb808b8
commit 2d6bae2ba1
14 changed files with 237 additions and 26 deletions
+23
View File
@@ -0,0 +1,23 @@
# PostgreSQL for local development (no SSH tunnel).
# Start: docker compose up -d
# Stop: docker compose down
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
ports:
- '5432:5432'
environment:
POSTGRES_USER: montime
POSTGRES_PASSWORD: montime
POSTGRES_DB: montime
volumes:
- montime_pg_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U montime -d montime']
interval: 5s
timeout: 5s
retries: 5
volumes:
montime_pg_data: