Skip to content

Commit 3e59777

Browse files
committed
fix: justfile clickhouse migrations dir
1 parent 247d882 commit 3e59777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ migrate-postgres dir env="local":
9292

9393
# applies clickhouse migrations (up or down)
9494
migrate-clickhouse dir env="local":
95-
migrate -database 'clickhouse://localhost:{{ if env == "local" { "9000" } else { "9001" } }}?username={{clickhouse_user_prefix}}{{env}}&database={{clickhouse_dbname_prefix}}{{env}}&password={{clickhouse_pass_prefix}}{{env}}' -path db/migrations/ch {{dir}}
95+
migrate -database 'clickhouse://localhost:{{ if env == "local" { "9000" } else { "9001" } }}?username={{clickhouse_user_prefix}}{{env}}&database={{clickhouse_dbname_prefix}}{{env}}&password={{clickhouse_pass_prefix}}{{env}}' -path db/migrations/chlocal {{dir}}
9696

9797
# generates postgres models with sqlboiler
9898
models: (restart-postgres "test") (migrate-postgres "up" "test")

0 commit comments

Comments
 (0)