Add file uploads for photos and family icons

This commit is contained in:
kihong.kim
2026-01-24 22:31:38 +09:00
parent 29881aa442
commit 9e6a265a7a
15 changed files with 761 additions and 133 deletions

View File

@@ -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 },
},