Skip to content

Commit

Permalink
fixup! Fixed #1371: Keep the unique flag in DropIndexOp
Browse files Browse the repository at this point in the history
  • Loading branch information
Iuri de Silvio committed Dec 4, 2023
1 parent 5d6616c commit 48dbedf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_autogen_diffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1909,7 +1909,10 @@ def test_create_index(self):
def test_create_unique_index(self):
op = ops.CreateIndexOp.from_index(self.ix_unique)
eq_(op.to_index(), schemacompare.CompareIndex(self.ix_unique))
eq_(op.reverse().to_index(), schemacompare.CompareIndex(self.ix_unique))
eq_(
op.reverse().to_index(),
schemacompare.CompareIndex(self.ix_unique),
)


class MultipleMetaDataTest(AutogenFixtureTest, TestBase):
Expand Down

0 comments on commit 48dbedf

Please sign in to comment.