Skip to content
Permalink
7f5eb9e1f5
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (12 sloc) 366 Bytes
require('dotenv').config();
const Sequelize = require('sequelize');
var host= process.env.host;
var user= process.env.user;
var password= process.env.password;
var database= process.env.database;
// connection
const sequelize = new Sequelize(database, user, password, {
host: host,
dialect: 'postgres',
});
module.exports = sequelize;