Skip to content

Commit

Permalink
build(make): add a target command to create migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed Oct 14, 2022
1 parent 5257b3e commit 393d1a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ down:
form: build
./dblab

.PHONY: create-migration
## create: Creates golang-migrate migration files
create-migration:
migrate create -ext sql -dir ./db/migrations $(file_name)

.PHONY: help
## help: Prints this help message
help:
Expand Down

0 comments on commit 393d1a9

Please sign in to comment.