Created
March 13, 2017 04:29
-
-
Save vivekrk/682e36476c09ec82dd1d4c538d55d09a to your computer and use it in GitHub Desktop.
User.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
attributes: { ‘ | |
firstname’: { | |
type: ‘string’, | |
required: true | |
}, | |
‘lastname’: { | |
type: ‘string’ | |
}, | |
‘email’: { | |
type: ‘email’, | |
unique: true, | |
required: true | |
}, | |
‘encryptedPassword’: { | |
type: ‘string’ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment