Skip to content

Instantly share code, notes, and snippets.

@NathanLeadill
Created January 3, 2021 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NathanLeadill/6da052f77f1f714153b6d6507743d9c6 to your computer and use it in GitHub Desktop.
Save NathanLeadill/6da052f77f1f714153b6d6507743d9c6 to your computer and use it in GitHub Desktop.
test.js
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