mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00
Add a database revision makefile recipe
This commit is contained in:
parent
b94bad829c
commit
8c72a30a71
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue