Add DB schema image.

Richard Newman 2017-01-13 12:43:10 -08:00
parent 7f26a5665b
commit 143ba79394

@ -30,8 +30,7 @@ Naturally these constraints are tied to the store's schema at the time of query
## Query translation
This is a good time to briefly cover how data is stored in SQLite.
PICTURE GOES HERE
![DB schema diagram](https://cloud.githubusercontent.com/assets/91722/21944987/bd7b95dc-d98d-11e6-90e9-613da1be04db.jpeg)
There are at present two tables that store the current set of datoms: `datoms` and `fulltext_datoms`. `fulltext_datoms` refers to strings stored in the `fulltext_values` table; a view called `all_datoms` merges these two datom tables together.