changed some backend models properties
This commit is contained in:
1 parent
1b21d84d0b
commit
0ff3c49ca6
4 files changed
+7
-7
No files matched your search
@@ -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 }
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -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) },
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -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) },
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user