Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- id: {
- type: Sequelize.UUID,
- primaryKey: true,
- defaultValue: Sequelize.UUIDV4,
- allowNull: false
- },
- message: {
- type: Sequelize.STRING(4096)
- },
- platformPostedTo: {type: Sequelize.STRING},
- postUrl: {type: Sequelize.STRING},
- // since we don't have API access to instagram, a separate process checks that they actually posted
- instagramVerified: {
- type: Sequelize.BOOLEAN,
- defaultValue: false
- },
- comments: {
- type: Sequelize.INTEGER,
- defaultValue: 0
- },
- likes: {
- type: Sequelize.INTEGER,
- defaultValue: 0
- },
- retweets: {
- type: Sequelize.INTEGER,
- defaultValue: 0
- },
- views: {
- type: Sequelize.INTEGER,
- defaultValue: 0
- },
- impressions: {
- type: Sequelize.INTEGER,
- defaultValue: 0
- },
- viewsAvg: {
- type: Sequelize.DOUBLE,
- defaultValue: 0
- },
- viewsTenSec: {
- type: Sequelize.DOUBLE,
- defaultValue: 0
- },
- followers: {
- type: Sequelize.INTEGER,
- defaultValue: null,
- allowNull: true
- },
- isPostPrivateOrDeleted: {
- type: Sequelize.BOOLEAN,
- defaultValue: false
- },
- assetUrl: {
- type: Sequelize.STRING
- },
- assetThumbnailUrl: {
- type: Sequelize.STRING
- },
- assetType: {
- type: Sequelize.STRING
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement