23 lines
686 B
JavaScript
23 lines
686 B
JavaScript
const Mongoose = require('mongoose');
|
|
|
|
module.exports = new Mongoose.Schema({
|
|
"about": { type: String },
|
|
"age": { type: Number, index: true },
|
|
"body": { type: String },
|
|
"ethnicity": { type: String },
|
|
"gender": { type: String },
|
|
"height": { type: String },
|
|
"looking": { type: String },
|
|
"name": { type: String, index: true },
|
|
"pic": {
|
|
"detail": { type: String, default: "profile/default_detail.png" },
|
|
"thumb": { type: String, default: "profile/default_thumbnail.png" }
|
|
},
|
|
"position": { type: String },
|
|
"pronouns": { type: String },
|
|
"weight": { type: Number },
|
|
"status": { type: String },
|
|
"tested": { type: Date },
|
|
"tribe": { type: String }
|
|
});
|