UNPKG

sails-hook-ddd

Version:

Sails.js hook to use data-domain-driver

30 lines (28 loc) 680 B
module.exports.ddd = { options: { }, domains: { // default: 'other', another: {} // ,other: {path: 'oth', database:'postgres'} }, databases: { default: 'local', local: { DriverName: 'sqlite', Database: 'test.sqlite' }, postgres: { DriverName: 'postgres', Username: 'user', Password: 'password', Hostname: 'host', Port: 5432, Database: 'database' } }, log: { level: 'debug' } //,paths: {ddd:'ddd2', func:'fn', model:'mdl', ddl:'ddl', def:'def'} }