stefanbuck / sails-social-auth-example

Sails.js Social Auth example with Passport and MongoDB
243 stars 62 forks source link

sails 0.10.x #21

Closed johntom closed 10 years ago

johntom commented 10 years ago

Add the following to config\models module.exports.models = {

// Your app's default connection. // i.e. the name of one of your app's connections (see config/connections.js) // // (defaults to localDiskDb) migrate:safe, // add connection: 'localDiskDb' };

johntom commented 10 years ago

fixed code

stefanbuck commented 10 years ago

@johntom why should I do that? I don't get it. I think a Pull Request would help to understand more of what you are referring to / talking about.

Karnith commented 10 years ago

@stefanbuck johntom recommended this because as of sails v10.x migrate:safe is needed in the config/modules.js to get rid of the consistent prompt of what to do with the database data. Your app is 9.8 so you're fine unless you update the dependencies to sails v10.x

stefanbuck commented 10 years ago

Master is now v0.10.x ready. @Karnith thanks for the detailed explanation.