Created
July 8, 2020 22:57
-
-
Save robzlabz/9a20cc65b356843bc672a1a026deeeb6 to your computer and use it in GitHub Desktop.
Menambahkan Field
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
const User = mongoose.model('User', new mongoose.Schema({ | |
username: String, | |
password: String, | |
about: String, | |
joinAt: Date, | |
points: Number | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment