Skip to content

Commit 99481f5

Browse files
committed
Disabled pluralization of mongodb
1 parent 1c5e3ba commit 99481f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plugins/mongodb.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export default {
2626

2727
log.debug(`mongodb - Connecting to ${db_url}/${db_name} ...`);
2828

29+
mongoose.pluralize(null);
30+
2931
mongoose.connect(`${db_url}/${db_name}`, { });
3032
const db = mongoose.connection;
3133

0 commit comments

Comments
 (0)