2023-12-16 20:38:46 +00:00
|
|
|
module.exports = (sequelize, DataTypes) => {
|
|
|
|
return sequelize.define('beatenGames', {
|
2024-02-11 17:37:16 +00:00
|
|
|
status: {
|
|
|
|
type: DataTypes.ENUM('planning', 'playing', 'beat'),
|
|
|
|
allowNull: true,
|
|
|
|
},
|
2024-07-13 16:38:37 +01:00
|
|
|
statusLastChanged: {
|
|
|
|
type: DataTypes.DATE,
|
|
|
|
allowNull: true,
|
|
|
|
},
|
2023-12-16 20:38:46 +00:00
|
|
|
}, {
|
2023-12-18 21:55:04 +00:00
|
|
|
timestamps: true,
|
2023-12-16 20:38:46 +00:00
|
|
|
});
|
|
|
|
};
|
|
|
|
|