Haha-Yes/models/ytphash.js
loicbersier c883808c80 Limit video to 2k and remove the "link" part from the ytphash
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2021-01-15 17:43:38 +01:00

11 lines
No EOL
283 B
JavaScript

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