diff options
| author | 0livd <github@destras.fr> | 2018-10-13 18:36:08 +0200 |
|---|---|---|
| committer | 0livd <github@destras.fr> | 2018-12-07 22:52:30 +0100 |
| commit | 5b5956d86dc1131c2cfdd587dc6abf476c30bd6d (patch) | |
| tree | 122245050006d307fa99add46f2fdd1bc25f794c /Makefile | |
| parent | 5bd839e176328de942c4e2f499cfb621200be001 (diff) | |
| download | ihatemoney-mirror-5b5956d86dc1131c2cfdd587dc6abf476c30bd6d.zip ihatemoney-mirror-5b5956d86dc1131c2cfdd587dc6abf476c30bd6d.tar.gz ihatemoney-mirror-5b5956d86dc1131c2cfdd587dc6abf476c30bd6d.tar.bz2 | |
Document database migrations
Closes #390
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -61,6 +61,11 @@ create-database-revision: ## Create a new 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}" +.PHONY: create-empty-database-revision +create-empty-database-revision: ## Create an empty database revision + @read -p "Please enter a message describing this revision: " rev_message; \ + $(PYTHON) -m ihatemoney.manage db revision -d ihatemoney/migrations -m "$${rev_message}" + .PHONY: build-requirements build-requirements: ## Save currently installed packages to requirements.txt $(VIRTUALENV) $(TEMPDIR) |
