diff options
| author | 0livd <github@destras.fr> | 2017-11-02 22:38:58 +0100 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2017-11-02 22:38:58 +0100 |
| commit | 974485690c4a2d5127f2880cf78847c6916c02ce (patch) | |
| tree | 93829f3ddfbc3ff02d2dc677d3800c5eeab00af1 /Makefile | |
| parent | 5c645a5b0b8a0f88793d43226b05e9f50096702f (diff) | |
| download | ihatemoney-mirror-974485690c4a2d5127f2880cf78847c6916c02ce.zip ihatemoney-mirror-974485690c4a2d5127f2880cf78847c6916c02ce.tar.gz ihatemoney-mirror-974485690c4a2d5127f2880cf78847c6916c02ce.tar.bz2 | |
Add a database revision makefile recipe (#281)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
