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.

51 lines (47 loc) 1.08 kB
const { DataTypes } = require('sequelize'); const sequelize = require('../sequelize'); const CommentReportsArchive = sequelize.define('CommentReportsArchive', { archive_id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true }, report_id: { type: DataTypes.INTEGER, allowNull: false }, 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: 'commentreportsarchives', timestamps: false }); module.exports = CommentReportsArchive;