From a3b13e700d8d65e27c1d90960b6ab6292e433c2c Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Wed, 4 Jan 2023 23:57:02 +1100 Subject: Fix out-of-date docs and tests after adding 'unit' to 'event_disp' --- backend/hist_data/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/hist_data') diff --git a/backend/hist_data/README.md b/backend/hist_data/README.md index 9ae7811..4cc7103 100644 --- a/backend/hist_data/README.md +++ b/backend/hist_data/README.md @@ -25,8 +25,8 @@ This directory holds files used to generate the history database data.db. Format: `scale INT, unit INT, count INT, PRIMARY KEY (scale, unit)`
Maps scale units to counts of events in them. - `event_disp`:
- Format: `id INT, scale INT, PRIMARY KEY (id, scale)`
- Maps events to scales they are 'displayable' on (used to make displayed events more uniform across time). + Format: `id INT, scale INT, unit INT, PRIMARY KEY (id, scale)`
+ Maps events to scales+units they are 'displayable' on (used to make displayed events more uniform across time). - `images`:
Format: `id INT PRIMARY KEY, url TEXT, license TEXT, artist TEXT, credit TEXT`
Holds metadata for available images -- cgit v1.2.3