PREPROD
ReaderAuthor

relic

Daily Log Project ID

`DailyLog.projectId` is the required link from a daily log entry to the Project whose fieldwork it records.

1 min read · 2 depth levelsstratum-relic · vdevMatches production
Everyday

Each DailyLog belongs to exactly one Project through its projectId, which is what gathers a season's worth of entries into a single readable diary for that dig. Because Relic enforces one log per project per day, the projectId pairs with the date to guarantee there is never a duplicate entry for the same day on the same project. The field is required and indexed, so every log has a parent project and project-scoped journal browsing stays fast.

Technical section
Data model, API, and internals — visible to developers.
View as developer →
Was this helpful?