Add file uploads for photos and family icons
This commit is contained in:
@@ -3,7 +3,8 @@ const mongoose = require("mongoose");
|
||||
const familyMemberSchema = new mongoose.Schema(
|
||||
{
|
||||
name: { type: String, required: true },
|
||||
emoji: { type: String, required: true },
|
||||
iconUrl: { type: String, default: "" },
|
||||
emoji: { type: String, default: "" },
|
||||
color: { type: String, required: true },
|
||||
order: { type: Number, default: 0 },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user