Create BeatenGames sequelize module
This commit is contained in:
parent
e80dfdf953
commit
1519c85f27
|
@ -0,0 +1,16 @@
|
|||
module.exports = (sequelize, DataTypes) => {
|
||||
return sequelize.define('beatenGames', {
|
||||
id: {
|
||||
type: DataTypes.INTEGER,
|
||||
primaryKey: true,
|
||||
autoIncrement: true,
|
||||
},
|
||||
user_id: DataTypes.INTEGER,
|
||||
game_id: DataTypes.STRING,
|
||||
date_created: DataTypes.DATE,
|
||||
date_last_modified: DataTypes.DATE,
|
||||
}, {
|
||||
timestamps: false,
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue