summaryrefslogtreecommitdiff
path: root/packages/backend/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--packages/backend/src/models/entities/following.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/backend/src/models/entities/following.ts b/packages/backend/src/models/entities/following.ts
index c3631e8501..ad387e5188 100644
--- a/packages/backend/src/models/entities/following.ts
+++ b/packages/backend/src/models/entities/following.ts
@@ -41,6 +41,7 @@ export class Following {
public follower: User | null;
//#region Denormalized fields
+ @Index()
@Column('varchar', {
length: 128, nullable: true,
comment: '[Denormalized]',
@@ -59,6 +60,7 @@ export class Following {
})
public followerSharedInbox: string | null;
+ @Index()
@Column('varchar', {
length: 128, nullable: true,
comment: '[Denormalized]',