Skip to content

Commit

Permalink
update make file
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelilahOu committed Nov 8, 2023
1 parent 3051cc9 commit efa86f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ dropdb:
docker exec -it postgres-database-dev dropdb simple_bank

migrationup:
migrate -path db/migration -database "postgres://root:mysecretpassword@localhost:5432/simple_bank?sslmode=disable" --verbose up
migrate -path db/migrations -database "postgres://root:mysecretpassword@localhost:5432/simple_bank?sslmode=disable" --verbose up

migrationdown:
migrate -path db/migration -database "postgres://root:mysecretpassword@localhost:5432/simple_bank?sslmode=disable" --verbose down
migrate -path db/migrations -database "postgres://root:mysecretpassword@localhost:5432/simple_bank?sslmode=disable" --verbose down

sqlc:
docker run --rm -v ${CURRENT_DIR}:/src -w /src sqlc/sqlc generate
Expand Down

0 comments on commit efa86f0

Please sign in to comment.