Commit 77a77140 authored by Kim, Subin's avatar Kim, Subin
Browse files

movie Model - title 추가

parent 8fde0956
...@@ -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,
......
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