diff options
Diffstat (limited to 'server/models/activitypub')
-rw-r--r-- | server/models/activitypub/actor.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/models/activitypub/actor.ts b/server/models/activitypub/actor.ts index 707f140af..b88e06b41 100644 --- a/server/models/activitypub/actor.ts +++ b/server/models/activitypub/actor.ts | |||
@@ -63,6 +63,9 @@ enum ScopeNames { | |||
63 | tableName: 'actor', | 63 | tableName: 'actor', |
64 | indexes: [ | 64 | indexes: [ |
65 | { | 65 | { |
66 | fields: [ 'url' ] | ||
67 | }, | ||
68 | { | ||
66 | fields: [ 'preferredUsername', 'serverId' ], | 69 | fields: [ 'preferredUsername', 'serverId' ], |
67 | unique: true | 70 | unique: true |
68 | } | 71 | } |