UNPKG

@speakr/speakr-module-services

Version:
55 lines (51 loc) 1.09 kB
'use strict'; let _ = require('underscore'); module.exports = function(sequelize, DataTypes) { let reports_periscopes = sequelize.define('reports_periscopes', { campaignid: { type: DataTypes.STRING, allowNull: true }, username: { type: DataTypes.STRING, allowNull: true }, link: { type: DataTypes.STRING, allowNull: true }, initiative: { type: DataTypes.STRING, allowNull: true }, client: { type: DataTypes.STRING, allowNull: true }, tweet: { type: DataTypes.TEXT, allowNull: true }, retweets: { type: DataTypes.INTEGER, allowNull: true }, clicks: { type: DataTypes.INTEGER, allowNull: true }, followers: { type: DataTypes.INTEGER, allowNull: true }, timestamp: { type: DataTypes.DATE, allowNull: true } }, { underscored: true, timestamps: false, }); return reports_periscopes; };