1234567 |
- "use strict";
- exports.__esModule = true;
- var Sequelize = require('sequelize');
- var pkg = require('../../package.json');
- var dbName = pkg.name + (process.env.NODE_ENV === 'test' ? '-test' : '');
- var dbUrl = process.env.DATABASE_URL || "postgres://localhost:5432/" + dbName;
- exports["default"] = new Sequelize(dbUrl, { logging: false });
|