Skip to content
Snippets Groups Projects
Commit 9bcd3cde authored by syuilo's avatar syuilo
Browse files

wip

parent b6c190e1
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,11 @@ export default Signin;
export interface ISignin {
_id: mongo.ObjectID;
createdAt: Date;
userId: mongo.ObjectID;
ip: string;
headers: any;
success: boolean;
}
/**
......
......@@ -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);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment