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