Merge pull request #1373 from akihikodaki/misc
Implement Follow activity
This commit is contained in:
@ -2,6 +2,7 @@ import * as mongo from 'mongodb';
|
||||
import db from '../db/mongodb';
|
||||
|
||||
const Following = db.get<IFollowing>('following');
|
||||
Following.createIndex(['followerId', 'followeeId'], { unique: true });
|
||||
export default Following;
|
||||
|
||||
export type IFollowing = {
|
||||
|
Reference in New Issue
Block a user