TheOchulus/models/beatenGames.js

16 lines
363 B
JavaScript

module.exports = (sequelize, DataTypes) => {
return sequelize.define('beatenGames', {
status: {
type: DataTypes.ENUM('planning', 'playing', 'beat'),
allowNull: true,
},
statusLastChanged: {
type: DataTypes.DATE,
allowNull: true,
},
}, {
timestamps: true,
});
};