Makefile target for generating ERD diagram with eralchemy

This commit is contained in:
Imbus 2024-05-04 10:52:12 +02:00
parent 684ed3f130
commit 8dc532c6cc

View file

@ -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