commenting from federation

This commit is contained in:
lesion
2019-08-01 15:18:45 +02:00
parent 37b63fc767
commit 5b013829fe
11 changed files with 137 additions and 21 deletions

View File

@@ -21,12 +21,10 @@ module.exports = (sequelize, DataTypes) => {
},
image_path: DataTypes.STRING,
is_visible: DataTypes.BOOLEAN,
activitypub_id: {
type: DataTypes.STRING(18),
index: true
},
recurrent: DataTypes.JSON,
// parent: DataTypes.INTEGER
likes: { type: DataTypes.JSON, defaultValue: [] },
boost: { type: DataTypes.JSON, defaultValue: [] }
}, {})
event.associate = function (models) {