Makefile target for generating ERD diagram with eralchemy
This commit is contained in:
parent
684ed3f130
commit
8dc532c6cc
1 changed files with 5 additions and 1 deletions
6
makefile
6
makefile
|
@ -25,4 +25,8 @@ release:
|
|||
scp krusty-imbus_$(GITHASH).tar.gz server:/public/krusty/krusty-imbus_$(GITHASH).tar.gz
|
||||
scp krusty-imbus_$(GITHASH).tar.gz.minisig server:/public/krusty/krusty-imbus_$(GITHASH).tar.gz.minisig
|
||||
|
||||
.PHONY: run clean test build dbdump migrate release
|
||||
# Generate ERD. Requires eralchemy2 (pip install eralchemy2)
|
||||
erd:
|
||||
eralchemy2 -i sqlite:///app/krusty.db -o erd.jpg
|
||||
|
||||
.PHONY: run clean test build dbdump migrate release erd
|
||||
|
|
Loading…
Reference in a new issue