Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var UserSchema = mongoose.Schema({
- username: {
- type: String,
- index:true
- },
- password: {
- type: String
- },
- email: {
- type: String
- },
- gender: {
- type: String
- },
- name: {
- type: String
- },
- surname: {
- type: String
- },
- image: {
- type: String
- },
- birth_date: {
- type: String
- },
- birth_place: {
- type: String
- },
- personal_status: {
- type: String
- },
- religion: {
- type: String
- },
- nation: {
- type: String
- },
- place: {
- type: String
- },
- email_privat: {
- type: String
- },
- mobile: {
- type: String
- },
- phone: {
- type: String
- },
- phone_company: {
- type: String
- },
- function: {
- type: String
- },
- short: {
- type: String
- },
- start_time: {
- type: String
- },
- end_time: {
- type: String
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement