Finished Prisma documentation for this model. Include only business prose about the stored concept, lifecycle, ownership, and important relationships.
Foreign key fields establishing relationships to other models.
GIN indexes for PostgreSQL full-text search (trigram).
Final table/model name.
Use a plural, snake_case, prefix-aware table name. When stance is
"material", place the special mv_ prefix before the configured database
prefix.
Regular persisted data fields owned by this row, including values that a snapshot/history row intentionally captures at a point in time.
Every model must include a non-null created_at datetime plain field.
Mutable business rows also include non-null updated_at, while
deleted_at is added only for soft-delete requirements. Current
query/service output reconstructed from source rows belongs in prose or
materialized views instead.
Regular indexes for query performance.
Primary key field (UUID).
Architectural role of this model, guiding API endpoint generation.
mv_, and normal CRUD endpoints are not generated.Unique indexes for data integrity constraints.
A single Prisma model (database table).