forked from turingschool-examples/all-your-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathknexfile.js
35 lines (33 loc) · 833 Bytes
/
knexfile.js
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
35
// Update with your config settings.
module.exports = {
development: {
client: 'pg',
connection: 'postgres://localhost/express_weather_dev',
migrations: {
directory: './db/migrations'
},
seeds: {
directory: './db/seeds/dev'
},
useNullAsDefault: true
},
test: {
client: 'pg',
connection: 'postgres://localhost/express_weather_test',
migrations: {
directory: './db/migrations'
},
useNullAsDefault: true
},
production: {
client: 'pg',
connection: 'postgres://hlratdwjmwcxyr:94dc71eb32efbdd235ccfdf3ddf3764a14020ad325d7d92cf990e4c99b91ed1e@ec2-54-225-195-3.compute-1.amazonaws.com:5432/dcv06bne2iqdq3',
migrations: {
directory: './db/migrations'
},
seeds: {
directory: './db/seeds/dev'
},
useNullAsDefault: true
}
};