changed some backend models properties

This commit is contained in:
X4Lo committed 2024-05-01 23:40:13 +01:00
1 parent 1b21d84d0b
commit 0ff3c49ca6
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ const Entry = sequelize.define("entry",
is_tvseries: { type: DataTypes.BOOLEAN },
status: { type: DataTypes.STRING(20) },
poster_path: { type: DataTypes.STRING(60) },
banner_path: { type: DataTypes.STRING(60) },
poster_path: { type: DataTypes.STRING(200) },
banner_path: { type: DataTypes.STRING(200) },
date_first_seen: { type: DataTypes.DATEONLY },
date_last_seen: { type: DataTypes.DATEONLY }
+1 -1
View File
@@ -27,7 +27,7 @@ const Episode = sequelize.define("episode",
user_rating: { type: DataTypes.FLOAT },
tmdb_rating: { type: DataTypes.FLOAT },
still_path: { type: DataTypes.STRING(60) },
still_path: { type: DataTypes.STRING(200) },
date_first_seen: { type: DataTypes.DATEONLY },
date_last_seen: { type: DataTypes.DATEONLY }
+2 -2
View File
@@ -26,8 +26,8 @@ const Season = sequelize.define("season",
tmdb_rating: { type: DataTypes.FLOAT },
imdb_rating: { type: DataTypes.FLOAT },
poster_path: { type: DataTypes.STRING(60) },
banner_path: { type: DataTypes.STRING(60) },
poster_path: { type: DataTypes.STRING(200) },
banner_path: { type: DataTypes.STRING(200) },
}
);
+2 -2
View File
@@ -5,11 +5,11 @@ const UserCollection = sequelize.define("userCollection",
{
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
name: { type: DataTypes.STRING(50) },
name: { type: DataTypes.STRING(150) },
description: { type: DataTypes.STRING(500) },
user_rating: { type: DataTypes.FLOAT },
poster_path: { type: DataTypes.STRING(60) },
poster_path: { type: DataTypes.STRING(200) },
}
);