forked from gobuffalo/pop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
database.yml
35 lines (30 loc) · 1.02 KB
/
database.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
mysql:
dialect: "mysql"
database: "pop_test"
host: {{ envOr "MYSQL_HOST" "127.0.0.1" }}
port: {{ envOr "MYSQL_PORT" "3306" }}
user: {{ envOr "MYSQL_USER" "root" }}
password: {{ envOr "MYSQL_PASSWORD" "root" }}
encoding: "utf8mb4_general_ci"
mysql_travis:
dialect: "mysql"
database: "pop_test"
host: {{ envOr "MYSQL_HOST" "127.0.0.1" }}
port: {{ envOr "MYSQL_PORT" "3306" }}
user: {{ envOr "MYSQL_USER" "root" }}
password: {{ envOr "MYSQL_PASSWORD" "" }}
encoding: "utf8mb4_general_ci"
postgres:
url: "postgres://postgres:postgres@localhost:5432/pop_test?sslmode=disable"
pool: 25
cockroach:
# url: "cockroach://[email protected]:26257/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" "" }}
sqlite:
dialect: "sqlite3"
database: "./sql_scripts/sqlite/test.sqlite"