'Removed fields will be removed after updating index/unique_together.'

def test_rename_field_and_foo_together(self):

    changes = self.get_changes([self.author_empty, self.book_foo_together_3], [self.author_empty, self.book_foo_together_4], MigrationQuestioner({'ask_rename': True}))
    self.assertNumberMigrations(changes, 'otherapp', 1)
    self.assertOperationTypes(changes, 'otherapp', 0, ['RenameField', 'AlterUniqueTogether', 'AlterIndexTogether'])
    self.assertOperationAttributes(changes, 'otherapp', 0, 1, name='book', unique_together={('title', 'newfield2')})
    self.assertOperationAttributes(changes, 'otherapp', 0, 2, name='book', index_together={('title', 'newfield2')})
