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
df6380f2
Commit
df6380f2
authored
Jul 20, 2021
by
Kim, Subin
Browse files
movie model
parent
94c49a7a
Changes
1
Show whitespace changes
Inline
Side-by-side
server/models/movie.model.js
View file @
df6380f2
...
@@ -18,6 +18,9 @@ const MovieModel = (sequelize) => {
...
@@ -18,6 +18,9 @@ const MovieModel = (sequelize) => {
title
:
{
title
:
{
type
:
DataTypes
.
STRING
,
type
:
DataTypes
.
STRING
,
},
},
release_date
:
{
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