From 3c2b14d3625941985000d51aa0e5313c55eb0528 Mon Sep 17 00:00:00 2001 From: Deluan Date: Fri, 31 Jul 2020 09:55:44 -0400 Subject: [PATCH] Rename make target for creating a new migration --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c5a821ac..18feb1e1 100644 --- a/Makefile +++ b/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/...)