Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Moumouls committed Apr 19, 2022
1 parent 97bc673 commit fbb127f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
7 changes: 1 addition & 6 deletions lib/Controllers/DatabaseController.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parse-server",
"version": "5.0.0-alpha.24.moumouls-collation",
"version": "5.0.0-alpha.25.moumouls-collation",
"description": "An express module providing a Parse-compatible API server",
"main": "lib/index.js",
"repository": {
Expand Down
7 changes: 0 additions & 7 deletions src/Controllers/DatabaseController.js
Original file line number Diff line number Diff line change
Expand Up @@ -1697,13 +1697,6 @@ class DatabaseController {
throw error;
});

await this.adapter
.ensureIndex('_User', requiredUserFields, ['email'], 'case_insensitive_email', false)
.catch(error => {
logger.warn('Unable to create case insensitive email index: ', error);
throw error;
});

await this.adapter.ensureUniqueness('_Role', requiredRoleFields, ['name']).catch(error => {
logger.warn('Unable to ensure uniqueness for role name: ', error);
throw error;
Expand Down

0 comments on commit fbb127f

Please sign in to comment.