add backend models/ add properties for some
This commit is contained in:
1 parent
3f28660a4d
commit
8a1d5a8416
9 files changed
+67
-4
No files matched your search
@@ -7,7 +7,9 @@ const Franchise = sequelize.define("franchise",
|
||||
title: { type: DataTypes.STRING(50) },
|
||||
overview: { type: DataTypes.STRING(300) },
|
||||
user_rating: { type: DataTypes.FLOAT }
|
||||
}
|
||||
}, {
|
||||
timestamps: false,
|
||||
}
|
||||
);
|
||||
|
||||
module.exports = Franchise;
|
||||
Reference in new issue
Block a user