donator database

This commit is contained in:
loicbersier 2019-10-27 00:55:33 +02:00
parent d2f4e60b16
commit d074851b85

11
models/donator.js Normal file
View file

@ -0,0 +1,11 @@
'use strict';
module.exports = (sequelize, DataTypes) => {
const donator = sequelize.define('donator', {
userID: DataTypes.BIGINT,
comment: DataTypes.STRING
}, {});
donator.associate = function(models) {
// associations can be defined here
};
return donator;
};