TheOchulus/models/games.js

13 lines
287 B
JavaScript
Raw Normal View History

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