D
DreamLake

DB Schema

TextTrack

Transcript, subtitle, or free-form label segments. Time-aligned JSONL chunks.

FieldTypeDescription
idObjectIdPrimary key
nameStringDisplay name
descriptionString?Description
tagsString[]Tags
projectIdStringParent project
episodeIdString?Optional episode link
folderIdObjectId?→ Node.id (null = project root)
filenameString?Basename (e.g. "subtitles.vtt")
pathStringTopic path (e.g. "subtitles/en")
chunksJsonChunk manifest: [{ path, src }] (default: [])
t0DateTime?Wall-clock anchor of first segment
lengthBigIntTotal segment count (default: 0)
metadataJson?Arbitrary metadata
deletedAtDateTime?Soft delete timestamp
createdAtDateTimeCreated timestamp
updatedAtDateTimeLast updated timestamp

Indexes: projectId, episodeId, folderId, path, tags, deletedAt