Skip to content

Commit

Permalink
Add a database revision makefile recipe (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
0livd authored and almet committed Nov 2, 2017
1 parent 5c645a5 commit 9744856
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Expand Up @@ -40,6 +40,10 @@ release: $(DEV_STAMP)
build-translations:
$(VENV)/bin/pybabel compile -d ihatemoney/translations

create-database-revision:
@read -p "Please enter a message describing this revision: " rev_message; \
$(PYTHON) -m ihatemoney.manage db migrate -d ihatemoney/migrations -m "$${rev_message}"

build-requirements:
$(VIRTUALENV) $(TEMPDIR)
$(TEMPDIR)/bin/pip install -U pip
Expand Down

0 comments on commit 9744856

Please sign in to comment.