mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 12:33:09 +02:00
a8e8b2e2cf
Fix #8363
17 lines
380 B
JavaScript
17 lines
380 B
JavaScript
import config from './built/config/index.js';
|
|
import { entities } from './built/db/postgre.js';
|
|
|
|
export default {
|
|
type: 'postgres',
|
|
host: config.db.host,
|
|
port: config.db.port,
|
|
username: config.db.user,
|
|
password: config.db.pass,
|
|
database: config.db.db,
|
|
extra: config.db.extra,
|
|
entities: entities,
|
|
migrations: ['migration/*.js'],
|
|
cli: {
|
|
migrationsDir: 'migration'
|
|
}
|
|
};
|