Skip to content

Commit

Permalink
Slight improvement to config.adapters boilerplate.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed Oct 10, 2013
1 parent fa64c0b commit 6b1be9d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions bin/boilerplates/config/adapters.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 18,15 @@ module.exports.adapters = {
// in a model definition, 'default' will be used.
'default': 'disk',

// In-memory adapter for DEVELOPMENT ONLY
memory: {
module: 'sails-memory'
},

// Persistent adapter for DEVELOPMENT ONLY
// (data IS preserved when the server shuts down)
// (data is preserved when the server shuts down)
disk: {
module: 'sails-disk'
},

// MySQL is the world's most popular relational database.
// Learn more: http://en.wikipedia.org/wiki/MySQL
mysql: {
myLocalMySQLDatabase: {

module: 'sails-mysql',
host: 'YOUR_MYSQL_SERVER_HOSTNAME_OR_IP_ADDRESS',
Expand Down

0 comments on commit 6b1be9d

Please sign in to comment.