Skip to content

Commit

Permalink
Add new_migration cmd to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Delavalom committed Oct 22, 2023
1 parent 22f33c5 commit 1de1102
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ migrateup1:
migratedown1:
migrate -path db/migrations -database "$(DB_SOURCE)" -verbose down1

new_migration:
migrate create -ext sql -dir db/migration -seq $(name)

sqlc:
sqlc generate

Expand Down

0 comments on commit 1de1102

Please sign in to comment.