diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-03 01:37:11 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-03 01:37:11 +0900 |
| commit | 9bf19d4676937bafb61da2f8e953ad2814e89e61 (patch) | |
| tree | fc19502449e28a024b341104663d433c6fd3e2f3 /src/models | |
| parent | Revert "Fix typo" (diff) | |
| download | misskey-9bf19d4676937bafb61da2f8e953ad2814e89e61.tar.gz misskey-9bf19d4676937bafb61da2f8e953ad2814e89e61.tar.bz2 misskey-9bf19d4676937bafb61da2f8e953ad2814e89e61.zip | |
Revert "[wip] Implement like activity"
This reverts commit 7da191396469642de14655c30eba86926882e98c.
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/post-reaction.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/post-reaction.ts b/src/models/post-reaction.ts index 81be95b8d8..3fc33411fb 100644 --- a/src/models/post-reaction.ts +++ b/src/models/post-reaction.ts @@ -5,12 +5,12 @@ import Reaction from './post-reaction'; import { pack as packUser } from './user'; const PostReaction = db.get<IPostReaction>('postReactions'); -PostReaction.createIndex(['userId', 'postId'], { unique: true }); export default PostReaction; export interface IPostReaction { _id: mongo.ObjectID; createdAt: Date; + deletedAt: Date; postId: mongo.ObjectID; userId: mongo.ObjectID; reaction: string; |