UNPKG

@moartube/moartube-node

Version:

A free, open-source, self-hosted, anonymous, decentralized video/live stream platform. Scalable via Cloudflare, works in the cloud or from home WiFi.

47 lines (43 loc) 961 B
const { DataTypes } = require('sequelize'); const sequelize = require('../sequelize'); const CommentReport = sequelize.define('CommentReport', { report_id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true }, timestamp: { type: DataTypes.BIGINT, allowNull: false }, comment_timestamp: { type: DataTypes.BIGINT, allowNull: false }, video_id: { type: DataTypes.TEXT, allowNull: false }, comment_id: { type: DataTypes.TEXT, allowNull: false }, email: { type: DataTypes.TEXT, allowNull: false }, type: { type: DataTypes.TEXT, allowNull: false }, message: { type: DataTypes.TEXT, allowNull: false }, }, { tableName: 'commentreports', timestamps: false }); module.exports = CommentReport;