aboutsummaryrefslogtreecommitdiff
path: root/backend/hist_data/enwiki/README.md
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-10-02 14:43:02 +1100
committerTerry Truong <terry06890@gmail.com>2022-10-02 21:13:10 +1100
commit149dc178c491d8e447a05ff3705fdc6ceddf129e (patch)
tree7194380d61c96e77366936a68c14026ab17ac04e /backend/hist_data/enwiki/README.md
parentd70b96295d768aa0c80bf66639ad7a56bdef92a8 (diff)
Add title column to img_data.db
Diffstat (limited to 'backend/hist_data/enwiki/README.md')
-rw-r--r--backend/hist_data/enwiki/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/hist_data/enwiki/README.md b/backend/hist_data/enwiki/README.md
index 95795f3..29fc2ff 100644
--- a/backend/hist_data/enwiki/README.md
+++ b/backend/hist_data/enwiki/README.md
@@ -40,7 +40,7 @@ This directory holds files obtained/derived from [English Wikipedia](https://en.
Used to hold metadata about infobox images for a set of page IDs.
Generated using `get_enwiki_img_data.py` and `download_img_license_info.py`. <br>
Tables: <br>
- - `page_imgs`: `page_id INT PRIMAY KEY, img_name TEXT` <br>
+ - `page_imgs`: `page_id INT PRIMARY KEY, title TEXT UNIQUE, img_name TEXT` <br>
`img_name` may be NULL, which means 'none found', and is used to avoid re-processing page IDs.
- `imgs`:
`id INT PRIMARY KEY, name TEXT UNIQUE, license TEXT, artist TEXT, credit TEXT, restrictions TEXT, url TEXT`