You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
10 years ago
|
/**
|
||
|
* 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: 'hackintoshMongo',
|
||
|
|
||
|
/***************************************************************************
|
||
|
* *
|
||
|
* How and whether Sails will attempt to automatically rebuild the *
|
||
|
* tables/collections/etc. in your schema. *
|
||
|
* *
|
||
|
* See http://sailsjs.org/#!/documentation/concepts/ORM/model-settings.html *
|
||
|
* *
|
||
|
***************************************************************************/
|
||
|
migrate: 'alter'
|
||
|
|
||
|
};
|