11 lines
272 B
JavaScript
11 lines
272 B
JavaScript
|
'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;
|
||
|
};
|