Skip to content

Commit

Permalink
fix: dump schema during cockroach test
Browse files Browse the repository at this point in the history
  • Loading branch information
alnr committed Jun 26, 2024
1 parent 381a959 commit ce2ed11
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@ postgres:
pool: 25

cockroach:
# url: "cockroach://root@127.0.0.1:26257/pop_test?application_name=cockroach&sslmode=disable"
url: postgres://{{ envOr "COCKROACH_USER" "root" }}@{{ envOr "COCKROACH_HOST" "127.0.0.1" }}:{{ envOr "COCKROACH_HOST" "127.0.0.1" }}/pop_test?application_name=cockroach&sslmode=disable
dialect: "cockroach"
database: "pop_test"
host: {{ envOr "COCKROACH_HOST" "127.0.0.1" }}
port: {{ envOr "COCKROACH_PORT" "26257" }}
user: {{ envOr "COCKROACH_USER" "root" }}
password: {{ envOr "COCKROACH_PASSWORD" "" }}
options:
sslmode: disable

cockroach_ssl:
dialect: "cockroach"
Expand All @@ -32,4 +25,3 @@ sqlite:
database: "tmp/test.sqlite"
options:
lock: true

0 comments on commit ce2ed11

Please sign in to comment.