1 Notes regarding the database format
2 ===================================
4 The database consists of three tables:
9 One record for each channel that we have data for. The channels
10 table must be updated manually and is only read by the nonametv-
16 Data is imported in batches. A batch is the smallest unit of data
17 that can be changed. If anything changes in the programming data
18 (such as a new movie being shown), an entire batch of programmes
19 must be removed and then added again.
21 Each batch has a unique name that must be consistent between
22 updates. The name should contain the name of the tv-company
23 or channel (depending on if data arrives in one batch per
24 channel or per tv-company) and some kind of period-identifier
25 such as year and week or date.
30 One record per program. Each record contains a channel_id and a
31 batch_id. All times are represented in UTC timezone.