Added custom path and default protocol path (#2204)
* Added custom path and default protocol path * Addressed feedback
This commit is contained in:
parent
ddc48c7cf4
commit
9d09cb3e9a
10
Makefile
10
Makefile
|
@ -368,8 +368,10 @@ 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: PATH := appdatabase/migrations/sql
|
||||
migration:
|
||||
touch $(DEFAULT_MIGRATION_PATH)$(UNIX_TIMESTAMP)_$(DESC).up.sql
|
||||
touch $(PATH)/$(shell date +%s)_$(D).up.sql
|
||||
|
||||
migration-protocol: DEFAULT_PROTOCOL_PATH := protocol/migrations/sqlite
|
||||
migration-protocol:
|
||||
touch $(DEFAULT_PROTOCOL_PATH)/$(shell date +%s)_$(D).up.sql
|
||||
|
|
Loading…
Reference in New Issue