Commit 40e9133a authored by Kim, Subin's avatar Kim, Subin
Browse files

Movie Model 수정본

parent 0b3b70b0
...@@ -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,
} }
}, },
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment