File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 57
57
"passport-twitter" : " ^1.0.2" ,
58
58
"pg" : " ^4.5.5" ,
59
59
"pg-hstore" : " ^2.3.2" ,
60
+ "pg-native" : " ^1.10.0" ,
60
61
"run-sequence" : " ^1.0.2" ,
61
62
"sequelize" : " ^3.23.3" ,
62
63
"serve-favicon" : " ^2.2.0" ,
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ var path = require('path');
2
2
var Sequelize = require ( 'sequelize' ) ;
3
3
4
4
var env = require ( path . join ( __dirname , '../env' ) ) ;
5
- var db = new Sequelize ( env . DATABASE_URI , { logging : env . LOGGING } ) ;
5
+ var db = new Sequelize ( env . DATABASE_URI , {
6
+ logging : env . LOGGING ,
7
+ native : env . NATIVE
8
+ } ) ;
6
9
7
10
module . exports = db ;
Original file line number Diff line number Diff line change @@ -16,5 +16,6 @@ module.exports = {
16
16
"clientSecret" : "INSERT_GOOGLE_CLIENT_SECRET_HERE" ,
17
17
"callbackURL" : "INSERT_GOOGLE_CALLBACK_HERE"
18
18
} ,
19
- "LOGGING" : true
19
+ "LOGGING" : true ,
20
+ "NATIVE" : true
20
21
} ;
Original file line number Diff line number Diff line change @@ -24,5 +24,6 @@ module.exports = {
24
24
"clientSecret" : process . env . GOOGLE_CLIENT_SECRET ,
25
25
"callbackURL" : process . env . GOOGLE_CALLBACK_URL
26
26
} ,
27
- "LOGGING" : true
27
+ "LOGGING" : true ,
28
+ "NATIVE" : true
28
29
} ;
Original file line number Diff line number Diff line change @@ -16,5 +16,6 @@ module.exports = {
16
16
"clientSecret" : "INSERT_GOOGLE_CLIENT_SECRET_HERE" ,
17
17
"callbackURL" : "INSERT_GOOGLE_CALLBACK_HERE"
18
18
} ,
19
- "LOGGING" : false
19
+ "LOGGING" : false ,
20
+ "NATIVE" : true
20
21
} ;
You can’t perform that action at this time.
0 commit comments