donator database
This commit is contained in:
parent
d2f4e60b16
commit
d074851b85
1 changed files with 11 additions and 0 deletions
11
models/donator.js
Normal file
11
models/donator.js
Normal 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;
|
||||
};
|
Loading…
Reference in a new issue