TheOchulus/models/games.js

14 lines
312 B
JavaScript
Raw Normal View History

2023-12-16 21:38:07 +01:00
module.exports = (sequelize, DataTypes) => {
return sequelize.define('games', {
id: {
type: DataTypes.INTEGER,
primaryKey: true,
},
name: {
type: DataTypes.STRING,
unique: false,
},
}, {
timestamps: false,
});
};