Festivals & ticketing
festival_ride_shares
Columns
| Column | Type | Null | Default | Keys |
|---|---|---|---|---|
| id | uuid | no | gen_random_uuid() | PK |
| festival_id | uuid | no | — | |
| dancer_id | uuid | no | — | |
| type | text offeringlooking | no | — | |
| origin_city | text | no | — | |
| date | date | no | — | |
| seats_available | integer | yes | — | |
| contact_link | text | yes | — | |
| created_at | timestamp | yes | now() |
Value lists come from .$type<'a' | 'b'>() in the schema — enforced in TypeScript only, not by the database.
Keys, constraints & indexes
Used by
Code that reads or writes this table, found by static analysis of the tRPC routers and API handlers (including helpers they call).
REST & webhooks
- ANY /mcp
- ANY /mcp/public
Relations
Rendering diagram…
Diagram source
erDiagram
dancers {
uuid id PK
text email UK
text neon_auth_id UK
text username UK
}
festival_ride_shares {
uuid id PK
uuid festival_id FK
uuid dancer_id FK
}
festivals {
uuid id PK
text slug UK
}
festivals ||--o{ festival_ride_shares : "festival_id"
dancers ||--o{ festival_ride_shares : "dancer_id" Defined at server/database/schema.ts:915 as festivalRideShares.