chore(db): sync init-db.sql with complete postgres schema

Sync scripts/init-db.sql with infrastructure/docker/services/postgres/init.sql
to include all required database columns:
- users: fingerprint, nickname columns for anonymous auth support
- conversations: ended_at column for tracking conversation end time
- messages: type enum column (USER, ASSISTANT, SYSTEM)

This ensures the schema files are consistent and include all columns
needed by the application entities.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-09 21:15:53 -08:00
parent 3a675bf3a3
commit 141b45bec2
1 changed files with 1394 additions and 216 deletions

File diff suppressed because it is too large Load Diff