style: small change
This commit is contained in:
@@ -48,6 +48,12 @@ export default defineSchema(
|
||||
})
|
||||
.index('by_user_post_id', ['userId', 'postId'])
|
||||
.index('by_post_user_id', ['postId', 'userId']),
|
||||
follows: defineTable({
|
||||
following: v.id('users'), // person being followed
|
||||
follower: v.id('users'), // person following
|
||||
})
|
||||
.index('by_following', ['following'])
|
||||
.index('by_follower', ['follower']),
|
||||
},
|
||||
{ schemaValidation: false }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user