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
@@ -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