Have a makefile in which rule dev-create-empty-migration
, currently, this rule has hardcoded argument accounts_table
, this argument should not be hardcoded but should be passed as an argument at the time of rule invocation. e. g. make dev-create-empty-migration accounts_table
.
Any ideas how to do that?
.PHONY: dev-create-empty-migration
dev-create-empty-migration:
migrate create -ext sql -dir
./pkg/acc/repo/postgres/migrations accounts_table