1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-30 15:58:19 +09:00
This commit is contained in:
syuilo 2018-03-28 16:09:49 +09:00
parent b6c190e1fd
commit 9bcd3cde46
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,11 @@ export default Signin;
export interface ISignin {
_id: mongo.ObjectID;
createdAt: Date;
userId: mongo.ObjectID;
ip: string;
headers: any;
success: boolean;
}
/**

View File

@ -180,3 +180,10 @@ db.posts.update({}, {
'_repost.user_id': '_repost.userId',
}
}, false, true);
db.signin.update({}, {
$rename: {
created_at: 'createdAt',
user_id: 'userId',
}
}, false, true);