@Test
public void dropUniqueMiddleOfGroup() throws StandardException {
buildCOIJoinedAUnJoined();
AISBuilder builder2 = new AISBuilder(builder.unvalidatedAIS());
builder2.unique(SCHEMA, "o", "x");
builder2.indexColumn(SCHEMA, "o", "x", "o_o", 0, true, null);
parseAndRun("ALTER TABLE o DROP UNIQUE x");
expectColumnChanges();
expectIndexChanges("DROP:x");
expectFinalTable(O_NAME, "id MCOMPAT_ BIGINT(21) NOT NULL", "cid MCOMPAT_ BIGINT(21) NULL", "o_o MCOMPAT_ BIGINT(21) NULL",