Begin adding support for PostgreSQL database storage
parent
8b1bd3bc13
commit
95d0979f53
|
@ -0,0 +1,9 @@
|
||||||
|
const app = require('../app');
|
||||||
|
const { Client } = require('pg');
|
||||||
|
|
||||||
|
if (process.env.NODE_ENV !== 'production' || process.env.NODE_ENV !== 'testing') {
|
||||||
|
require('dotenv').config();
|
||||||
|
}
|
||||||
|
|
||||||
|
const client = new Client();
|
||||||
|
client.connect();
|
Reference in New Issue