[fix] comment ap_id key length

This commit is contained in:
les
2019-11-12 14:32:34 +01:00
parent 998799d9a0
commit 0b92bb2c04
2 changed files with 20 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
module.exports = (sequelize, DataTypes) => {
const comment = sequelize.define('comment', {
activitypub_id: {
type: DataTypes.STRING(18),
type: DataTypes.STRING,
index: true,
unique: true
},