duraark-microservice-base
Version:
Base docker image and initial Sails.js setup a REST microservice.
23 lines (20 loc) • 832 B
JavaScript
/**
* Default model configuration
* (sails.config.models)
*
* Unless you override them, the following properties will be included
* in each of your models.
*
* For more info on Sails models, see:
* http://sailsjs.org/#/documentation/concepts/ORM
*/
module.exports.models = {
/***************************************************************************
* *
* Your app's default connection. i.e. the name of one of your app's *
* connections (see `config/connections.js`) *
* *
***************************************************************************/
connection: 'localDiskDb',
migrate: 'alter'
};