
# This makefile is here simply to create an example database to diagram.
# After doing a "make" in this directory, go into the diagrams subdirectory.
# Please read the Makefile there for further instructions.

DBNAME = autograph_test

all:
	@echo "Dropping old db: $(DBNAME)"
	@-dropdb $(DBNAME)
	@echo "Creating db"
	@createdb -E utf8 $(DBNAME)
	@psql -q -f tables.sql $(DBNAME)

