TheOchulus/models/beatenGames.js

16 lines
363 B
JavaScript
Raw Normal View History

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,
},
statusLastChanged: {
type: DataTypes.DATE,
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
});
};