Created
April 23, 2018 11:20
-
-
Save thoughtspeed7/6a1e35d486a54556462aa9f77f3f3e44 to your computer and use it in GitHub Desktop.
Reusing Mongoose Schema
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
// om namah shivay | |
const mongoose = require('mongoose'); | |
const mobile = { | |
country_code: String, | |
number: String | |
}; | |
module.exports = { | |
mobile | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment