投稿に関しては論理削除するように

処理をシンプルにするため
This commit is contained in:
syuilo 2018-04-07 07:19:30 +09:00
parent 8273a7e748
commit 494597236c
5 changed files with 10 additions and 43 deletions

View file

@ -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;