Increase credit character and job columns to TEXT
VARCHAR(500) still overflows for TV series with many aggregate roles joined by semicolon
This commit is contained in:
1 parent
d984210dd9
commit
331bbbb17c
1 file changed
+2
-2
@@ -9,7 +9,7 @@ const Credit = sequelize.define("credits", {
|
||||
adult: { type: DataTypes.BOOLEAN, defaultValue: false },
|
||||
profile_path: { type: DataTypes.STRING(200), field: "profile_path" },
|
||||
|
||||
character: { type: DataTypes.STRING(500) },
|
||||
character: { type: DataTypes.TEXT },
|
||||
order: { type: DataTypes.INTEGER },
|
||||
episode_count: { type: DataTypes.INTEGER, defaultValue: null },
|
||||
|
||||
@@ -19,7 +19,7 @@ const Credit = sequelize.define("credits", {
|
||||
defaultValue: "cast",
|
||||
},
|
||||
department: { type: DataTypes.STRING(100) },
|
||||
job: { type: DataTypes.STRING(500) },
|
||||
job: { type: DataTypes.TEXT },
|
||||
|
||||
entry_id: { type: DataTypes.INTEGER, field: "entry_id" },
|
||||
people_id: { type: DataTypes.INTEGER, field: "people_id" },
|
||||
|
||||
Reference in new issue
Block a user