Create BeatenGames sequelize module

This commit is contained in:
baz 2023-12-16 20:38:46 +00:00
parent e80dfdf953
commit 1519c85f27
1 changed files with 16 additions and 0 deletions

16
models/beatenGames.js Normal file
View File

@ -0,0 +1,16 @@
module.exports = (sequelize, DataTypes) => {
return sequelize.define('beatenGames', {
id: {
type: DataTypes.INTEGER,
primaryKey: true,
autoIncrement: true,
},
user_id: DataTypes.INTEGER,
game_id: DataTypes.STRING,
date_created: DataTypes.DATE,
date_last_modified: DataTypes.DATE,
}, {
timestamps: false,
});
};