Create Games sequelize module

This commit is contained in:
baz 2023-12-16 20:38:07 +00:00
parent 78cd678f6f
commit e80dfdf953
1 changed files with 14 additions and 0 deletions

14
models/games.js Normal file
View File

@ -0,0 +1,14 @@
module.exports = (sequelize, DataTypes) => {
return sequelize.define('games', {
id: {
type: DataTypes.INTEGER,
primaryKey: true,
},
name: {
type: DataTypes.STRING,
unique: false,
},
}, {
timestamps: false,
});
};