Created
January 3, 2021 16:29
-
-
Save NathanLeadill/6da052f77f1f714153b6d6507743d9c6 to your computer and use it in GitHub Desktop.
test.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
const schema = mongoose.Schema({ | |
_id: String, | |
firstName: String, | |
lastName: String, | |
username: String, | |
password: String, | |
email: String, | |
profile: Object, | |
games: Array, | |
balance: { | |
type: Number, | |
default: 0 | |
}, | |
wallets: Array, | |
withdrawlHistory: Array | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment