Reputation: 326
I cant seem to figure out how to install waterline orm using the sails-mssql adapter, I have installed waterline and sails-mssql and this is how config/datastore.js looks:
module.exports.datastores = {
default: { adapter: require('sails-mssql'), url: 'mssql://sonkozo:#Coding301!@localhost:3306/mydb',
},
};
Upvotes: 0
Views: 93
Reputation: 351
you don't need to : adapter: require('sails-mssql')
you only need to : adapter: 'sails-mssql'
Upvotes: 2