From d074851b85136a1d33d204367be39f96a22e9aad Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sun, 27 Oct 2019 00:55:33 +0200 Subject: [PATCH] donator database --- models/donator.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 models/donator.js diff --git a/models/donator.js b/models/donator.js new file mode 100644 index 0000000..e21176d --- /dev/null +++ b/models/donator.js @@ -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; +}; \ No newline at end of file