Commit 0afa135b authored by 우지원's avatar 우지원
Browse files

a

parent 055db460
...@@ -7,6 +7,7 @@ const ChatSchema = new mongoose.Schema({ ...@@ -7,6 +7,7 @@ const ChatSchema = new mongoose.Schema({
type: String, type: String,
// default:() => nanoid(), // default:() => nanoid(),
unique: true unique: true
//ref:'Room' -> Room의 형식을 참고할 수 있다.
}, },
name: { name: {
type: String, type: String,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment