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
77a77140
Commit
77a77140
authored
Jul 19, 2021
by
Kim, Subin
Browse files
movie Model - title 추가
parent
8fde0956
Changes
1
Show whitespace changes
Inline
Side-by-side
server/models/movie.model.js
View file @
77a77140
...
@@ -15,6 +15,9 @@ const MovieModel = (sequelize) => {
...
@@ -15,6 +15,9 @@ const MovieModel = (sequelize) => {
type
:
DataTypes
.
INTEGER
,
type
:
DataTypes
.
INTEGER
,
unique
:
true
,
unique
:
true
,
},
},
title
:
{
type
:
DataTypes
.
STRING
,
},
ticket_sales
:
{
ticket_sales
:
{
type
:
DataTypes
.
FLOAT
,
type
:
DataTypes
.
FLOAT
,
defaultValue
:
0.0
,
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