Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
messenger
Commits
0afa135b
Commit
0afa135b
authored
Jan 15, 2021
by
우지원
Browse files
a
parent
055db460
Changes
1
Show whitespace changes
Inline
Side-by-side
server/models/Chat.js
View file @
0afa135b
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment