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
butter-studio
Commits
40e9133a
Commit
40e9133a
authored
Jul 14, 2021
by
Kim, Subin
Browse files
Movie Model 수정본
parent
0b3b70b0
Changes
1
Show whitespace changes
Inline
Side-by-side
server/models/movie.model.js
View file @
40e9133a
...
@@ -14,6 +14,14 @@ const MovieModel = (sequelize) => {
...
@@ -14,6 +14,14 @@ const MovieModel = (sequelize) => {
movieId
:
{
movieId
:
{
type
:
DataTypes
.
INTEGER
,
type
:
DataTypes
.
INTEGER
,
unique
:
true
,
unique
:
true
,
},
ticket_sales
:
{
type
:
DataTypes
.
FLOAT
,
defaultValue
:
0.0
,
},
vote_average
:
{
type
:
DataTypes
.
FLOAT
,
defaultValue
:
0.0
,
}
}
},
},
{
{
...
...
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