Created
June 8, 2018 15:28
-
-
Save daniele-zurico/a553d0fef54f501cbbd99737fe4850f6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import mongoose from "mongoose"; | |
| const UserSchema = new mongoose.Schema({ | |
| email: String, | |
| name: String, | |
| picture: String, | |
| given_name: String, | |
| family_name: String, | |
| locale: String | |
| }); | |
| const User = mongoose.model("users", UserSchema); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment