2019-07-28 23:55:59 +02:00
|
|
|
'use strict';
|
|
|
|
module.exports = (sequelize, DataTypes) => {
|
2020-04-30 22:20:07 +02:00
|
|
|
const guessLeaderboard = sequelize.define('guessLeaderboard', {
|
|
|
|
memberID: DataTypes.INTEGER,
|
|
|
|
try: DataTypes.INTEGER,
|
|
|
|
difficulty: DataTypes.STRING
|
|
|
|
}, {});
|
|
|
|
guessLeaderboard.associate = function(models) {
|
|
|
|
// associations can be defined here
|
|
|
|
};
|
|
|
|
return guessLeaderboard;
|
2019-07-28 23:55:59 +02:00
|
|
|
};
|