Saving results to database. Showing webpage.
This commit is contained in:
11
knexfile.js
11
knexfile.js
@@ -1,9 +1,8 @@
|
||||
// Update with your config settings.
|
||||
// use strict
|
||||
//
|
||||
const config = require('config');
|
||||
|
||||
module.exports = {
|
||||
client: 'sqlite3',
|
||||
connection: {
|
||||
filename: './db.sqlite',
|
||||
},
|
||||
useNullAsDefault: true,
|
||||
client: 'pg',
|
||||
connection: config.database,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user