Haha-Yes/models/borgar.js
Loic Bersier f5038a45f1 eslint do your thing
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-04-30 22:20:07 +02:00

12 lines
No EOL
292 B
JavaScript

'use strict';
module.exports = (sequelize, DataTypes) => {
const borgar = sequelize.define('borgar', {
userID: DataTypes.BIGINT,
level: DataTypes.INTEGER,
xp: DataTypes.INTEGER
}, {});
borgar.associate = function(models) {
// associations can be defined here
};
return borgar;
};