mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Rename make target for creating a new migration
This commit is contained in:
parent
2b59d4b87a
commit
3c2b14d362
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -37,10 +37,10 @@ update-snapshots: check_go_env
|
|||
UPDATE_SNAPSHOTS=true ginkgo ./server/subsonic/...
|
||||
.PHONY: update-snapshots
|
||||
|
||||
create-migration:
|
||||
migration:
|
||||
@if [ -z "${name}" ]; then echo "Usage: make create-migration name=name_of_migration_file"; exit 1; fi
|
||||
goose -dir db/migration create ${name}
|
||||
.PHONY: create-migration
|
||||
.PHONY: migration
|
||||
|
||||
setup:
|
||||
@which go-bindata || (echo "Installing BinData" && GO111MODULE=off go get -u github.com/go-bindata/go-bindata/...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue