Make migration scripts

and use createdAt instead of _id
This commit is contained in:
syuilo
2018-04-02 23:19:07 +09:00
parent 5b80b6e901
commit 5ce6fa67d2
7 changed files with 90 additions and 4 deletions

View File

@ -6,6 +6,7 @@ export default FollowedLog;
export type IFollowedLog = {
_id: ObjectID;
createdAt: Date;
userId: ObjectID;
count: number;
};

View File

@ -6,6 +6,7 @@ export default FollowingLog;
export type IFollowingLog = {
_id: ObjectID;
createdAt: Date;
userId: ObjectID;
count: number;
};