Skip to content

Commit

Permalink
Remove unsupported for dropIndex options element
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliimak committed Mar 31, 2023
1 parent 1028bd2 commit 3727271
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@

<xsd:sequence>
<xsd:element name="keys" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="options" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>

<xsd:attribute name="collectionName" type="xsd:string" use="required"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@

<xsd:sequence>
<xsd:element name="keys" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="options" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>

<xsd:attribute name="collectionName" type="xsd:string" use="required"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,6 @@
"name": 1,
"type": 1
}
},
"options": {
"$rawJson": {
"unique": true,
"name": "ui_countries_json"
}
}
}
}
Expand All @@ -108,4 +102,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
<ext:keys>
{ name: 1, type: 1}
</ext:keys>
<ext:options>
{unique: true, name: "ui_countries"}
</ext:options>
</ext:dropIndex>

<rollback/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,4 @@ databaseChangeLog:
- dropIndex:
collectionName: countries_yaml
keys: '{ name: 1, type: 1}'
options: '{unique: true, name: "ui_countries"}'
- rollback:
- rollback:

0 comments on commit 3727271

Please sign in to comment.