Skip to content

Commit 6d92164

Browse files
committed
Fix: Use name instead of indexName for options on createIndex call
1 parent a961356 commit 6d92164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ var MongodbDriver = Base.extend({
161161
var parameters = {
162162
columns: columns,
163163
options: {
164-
indexName: indexName,
164+
name: indexName,
165165
unique: unique
166166
}
167167
};

0 commit comments

Comments
 (0)