Skip to content

track_tags

M:N junction between tracks and tags. Lets you label a track.

  • ETL strategy: merge
  • PK: id

Columns

ColumnTypeDescription
idBIGINTPK.
id_tagBIGINTFK → tags.id.
id_trackBIGINTFK → tracks.id.
created_atTIMESTAMPTZ
deleted_atTIMESTAMPTZ

This is the only table without a direct id_tenant. To filter by tenant, join with tracks:

sql
SELECT tt.*
FROM lms.track_tags tt
JOIN lms.tracks t ON t.id = tt.id_track
WHERE t.id_tenant = 100;

OpenDB · Cademi LMS Data Warehouse