2022-07-30 19:58:22 +02:00
|
|
|
const mongoose = require("mongoose");
|
|
|
|
|
let model = new mongoose.Schema({
|
|
|
|
|
id: String,
|
2022-08-19 20:51:46 +02:00
|
|
|
biography: { type: String, default: "User has no biography" },
|
2022-07-30 19:58:22 +02:00
|
|
|
coins: String,
|
2022-08-16 20:31:58 +02:00
|
|
|
website: String,
|
|
|
|
|
github: String,
|
|
|
|
|
twitter:String ,
|
|
|
|
|
instagram: String
|
2022-07-30 19:58:22 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
module.exports = mongoose.model("profiles", model);
|