Closed toddgeist closed 8 years ago
answering my own question...
in api/models/User.js
just add the additional attributes you want. Like this
module.exports = {
attributes: {
// here's an additional field
additionalField : {
type : 'string',
defaultsTo :'ok'
}
}
}
just add the additional attributes you want. Like this
yep!
Is there a way to extend the User model with additional Attributes?