diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-07 07:19:30 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-07 07:19:30 +0900 |
| commit | 494597236cea4a40bddd9655b6506464df053bfe (patch) | |
| tree | a9b468a88a34cd37ee9527c433188178b8a0af12 /src/models | |
| parent | Fix bug (diff) | |
| download | misskey-494597236cea4a40bddd9655b6506464df053bfe.tar.gz misskey-494597236cea4a40bddd9655b6506464df053bfe.tar.bz2 misskey-494597236cea4a40bddd9655b6506464df053bfe.zip | |
投稿に関しては論理削除するように
処理をシンプルにするため
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/post.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/post.ts b/src/models/post.ts index 68a638fa2f..ac7890d2e6 100644 --- a/src/models/post.ts +++ b/src/models/post.ts @@ -27,6 +27,7 @@ export type IPost = { _id: mongo.ObjectID; channelId: mongo.ObjectID; createdAt: Date; + deletedAt: Date; mediaIds: mongo.ObjectID[]; replyId: mongo.ObjectID; repostId: mongo.ObjectID; |