Skip to content

Instantly share code, notes, and snippets.

@mosluce
Last active December 30, 2015 08:13
Show Gist options
  • Save mosluce/e56724010cd89c9929db to your computer and use it in GitHub Desktop.
Save mosluce/e56724010cd89c9929db to your computer and use it in GitHub Desktop.
module.exports = function(Schema) {
return {
table: 'OAuthUser',
schema: {
local : {
email : String,
password : String,
},
facebook : {
id : String,
token : String,
email : String,
name : String
},
twitter : {
id : String,
token : String,
displayName : String,
username : String
},
google : {
id : String,
token : String,
email : String,
name : String
}
},
options: {}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment