elmeg-demo/.specify/tasks/01_database_schema.md

21 lines
670 B
Markdown

# Task: Database Schema Design
## Objective
Design and implement the initial database schema to support the core "Massive Archive" feature.
## Steps
- [ ] Choose ORM (SQLAlchemy or Prisma).
- [ ] Define models for:
- `User` (with multi-identity support placeholders).
- `Band` / `Vertical`.
- `Show` / `Event`.
- `Venue`.
- `Song` / `Content`.
- `Performance` (linking Song to Show).
- `Setlist`.
- [ ] Create migration scripts.
- [ ] Seed initial data (e.g., one band, a few shows) for testing.
## Acceptance Criteria
- Database schema is applied to the PostgreSQL instance.
- Can query and retrieve seeded data via direct DB connection.