Added new make migration command (#2201)
* Added new make migration command * Addressed feedback
This commit is contained in:
parent
6d7028a8d9
commit
050dca8336
6
Makefile
6
Makefile
|
@ -367,3 +367,9 @@ clean-mailserver-systemd: ##@Easy Clean your systemd service for running a mails
|
|||
|
||||
clean-mailserver-docker: ##@Easy Clean your Docker container running a mailserver
|
||||
@cd _assets/compose/mailserver && $(MAKE) clean
|
||||
|
||||
## TODO(samyoul) option to set and/or overwrite migration path
|
||||
migration: DEFAULT_MIGRATION_PATH := appdatabase/migrations/sql/
|
||||
migration: UNIX_TIMESTAMP := $(shell date +%s)
|
||||
migration:
|
||||
touch $(DEFAULT_MIGRATION_PATH)$(UNIX_TIMESTAMP)_$(DESC).up.sql
|
||||
|
|
Loading…
Reference in New Issue