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:
X4Lo committed 2026-06-25 23:28:54 +01:00
1 parent d984210dd9
commit 331bbbb17c
1 file changed
+2 -2
+2 -2
View File
@@ -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" },