mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 23:08:12 +09:00
wip
This commit is contained in:
parent
0597e13119
commit
1c507b89f2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user