mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 22:47:29 -07:00
oops
This commit is contained in:
parent
d0078123e4
commit
a8c3e7038a
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ User.createIndex('username');
|
||||||
User.createIndex('usernameLower');
|
User.createIndex('usernameLower');
|
||||||
User.createIndex(['username', 'host'], { unique: true });
|
User.createIndex(['username', 'host'], { unique: true });
|
||||||
User.createIndex(['usernameLower', 'host'], { unique: true });
|
User.createIndex(['usernameLower', 'host'], { unique: true });
|
||||||
User.createIndex('token', { unique: true });
|
User.createIndex('token', { sparse: true, unique: true });
|
||||||
User.createIndex('uri', { sparse: true, unique: true });
|
User.createIndex('uri', { sparse: true, unique: true });
|
||||||
|
|
||||||
export default User;
|
export default User;
|
||||||
|
|
Loading…
Reference in a new issue