Haha-Yes/models/ytphash.js
loicbersier 731626aba0 ytphash
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-05-13 08:47:58 +02:00

12 lines
No EOL
311 B
JavaScript

'use strict';
module.exports = (sequelize, DataTypes) => {
const ytpHash = sequelize.define('ytpHash', {
hash: DataTypes.STRING,
link: DataTypes.STRING,
messageID: DataTypes.BIGINT
}, {});
ytpHash.associate = function(models) {
// associations can be defined here
};
return ytpHash;
};