10 lines
268 B
Makefile
10 lines
268 B
Makefile
run/api:
|
|
go run ./cmd/api
|
|
|
|
db/migrations/up:
|
|
@echo 'Running up migrations...'
|
|
migrate -path ./migrations -database ${GREENLIGHT_DB_DSN} up
|
|
|
|
db/migrations/new:
|
|
@echo 'Creating migration files for ${name}...'
|
|
migrate create -seq -ext=.sql -dir=./migrations ${name}
|