Show db diagram on README

This commit is contained in:
Timothy Warren 2019-03-29 12:40:31 -04:00
parent 36743c9055
commit c17b5642c0
4 changed files with 7 additions and 2 deletions

View File

@ -45,7 +45,12 @@ doc:
test: test:
$(CARGO) test $(CARGO) test
graphs: $(GRAPH_SVG) graphs-png: $(GRAPH_IMG)
design/%.png: design/%.gv
dot -Tpng $^ -o $@
graphs: $(GRAPH_SVG) graphs-png
design/%.svg: design/%.gv design/%.svg: design/%.gv
dot -Tsvg $^ -o $@ dot -Tsvg $^ -o $@

View File

@ -14,4 +14,4 @@ This is an experiment with using Rust to build a CRUD web app.
* Full interface / Web API separation * Full interface / Web API separation
### DB Design ### DB Design
![DB Design](./design/db.svg) ![DB Design](./design/db.png)

BIN
design/db.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB