Khanyisa Fante
Khanyisa Fante

Reputation: 326

installing waterline ORM with mssql on sails

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

Answers (1)

Rami Dridi
Rami Dridi

Reputation: 351

you don't need to : adapter: require('sails-mssql')

you only need to : adapter: 'sails-mssql'

Upvotes: 2

Related Questions