diff --git a/.gitignore b/.gitignore
index 9ad11ec..2d89407 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@
 
 bin
 db.sqlite3
+*.png
 
 # Test binary, built with `go test -c`
 *.test
diff --git a/backend/Makefile b/backend/Makefile
index 2200639..ea1e292 100644
--- a/backend/Makefile
+++ b/backend/Makefile
@@ -80,6 +80,12 @@ docs:
 docfmt:
 	swag fmt
 
+# Generate ERD
+# Requires eralchemy2
+.PHONY: eralchemy
+erd:
+	eralchemy2 -i sqlite:///db.sqlite3 -o erd.png
+
 install-swag:
 	@echo "Installing swag"
 	@go get -u github.com/swaggo/swag/cmd/swag