diff --git a/Makefile b/Makefile index d80e3ac..2a5ad20 100644 --- a/Makefile +++ b/Makefile @@ -8,5 +8,8 @@ grpc-web: grpcwebproxy --backend_addr=localhost:8081 --run_http_server --run_tls_server=false --server_http_debug_port 18081 --allow_all_origins --server_bind_address 127.0.0.1 install-deps: go install github.com/swaggo/swag/cmd/swag@latest + curl -sSf https://atlasgo.sh | sh swag: - swag init -g internal/routes/router.go --parseDependency \ No newline at end of file + swag init -g internal/routes/router.go --parseDependency +hash-migration: + atlas migrate hash --dir "file://internal/migrations" \ No newline at end of file