Make migration scripts
and use createdAt instead of _id
This commit is contained in:
parent
5b80b6e901
commit
5ce6fa67d2
7 changed files with 90 additions and 4 deletions
|
@ -6,6 +6,7 @@ export default FollowedLog;
|
|||
|
||||
export type IFollowedLog = {
|
||||
_id: ObjectID;
|
||||
createdAt: Date;
|
||||
userId: ObjectID;
|
||||
count: number;
|
||||
};
|
||||
|
|
|
@ -6,6 +6,7 @@ export default FollowingLog;
|
|||
|
||||
export type IFollowingLog = {
|
||||
_id: ObjectID;
|
||||
createdAt: Date;
|
||||
userId: ObjectID;
|
||||
count: number;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue