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
bora-it
Commits
58332a88
Commit
58332a88
authored
Aug 04, 2021
by
seoyeon
Browse files
에러 난다...
parent
e74098fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/models/room.model.js
View file @
58332a88
import
{
DataTypes
}
from
"
sequelize
"
;
import
pkg
from
'
sequelize
'
;
const
{
DataTypes
}
=
pkg
;
const
RoomModel
=
(
sequelize
)
=>
{
const
RoomModel
=
(
sequelize
)
=>
{
const
Room
=
sequelize
.
define
(
const
Room
=
sequelize
.
define
(
...
@@ -34,3 +35,4 @@ const RoomModel = (sequelize) => {
...
@@ -34,3 +35,4 @@ const RoomModel = (sequelize) => {
export
default
RoomModel
;
export
default
RoomModel
;
server/models/user.model.js
View file @
58332a88
...
@@ -60,3 +60,4 @@ const UserModel = (sequelize) => {
...
@@ -60,3 +60,4 @@ const UserModel = (sequelize) => {
};
};
export
default
UserModel
;
export
default
UserModel
;
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