Added more backend models
This commit is contained in:
1 parent
b1820521bc
commit
203aca7c65
9 files changed
+193
-14
No files matched your search
@@ -10,7 +10,7 @@ const Entry = sequelize.define("entry",
|
||||
release_date: { type: DataTypes.DATE },
|
||||
runtime: { type: DataTypes.INTEGER },
|
||||
|
||||
storyline: { type: DataTypes.STRING(500) },
|
||||
storyline: { type: DataTypes.STRING(1000) },
|
||||
country: { type: DataTypes.STRING(30) },
|
||||
|
||||
certification: { type: DataTypes.INTEGER },
|
||||
@@ -24,7 +24,7 @@ const Entry = sequelize.define("entry",
|
||||
is_tvseries: { type: DataTypes.BOOLEAN },
|
||||
status: { type: DataTypes.STRING(20) },
|
||||
|
||||
poster_path: { type: DataTypes.STRING(50) },
|
||||
poster_path: { type: DataTypes.STRING(60) },
|
||||
|
||||
date_first_seen: { type: DataTypes.DATEONLY },
|
||||
date_last_seen: { type: DataTypes.DATEONLY }
|
||||
|
||||
Reference in new issue
Block a user