define unique keys before column-level indexing
define unique keys before column-level indexing

We need the side-effect of table.add_unique() to already be present
when we attempt to build each column index, so we can successfully
test for presence of simple key columns and skip the duplicate btree.

informatics-isi-edu/ermrest,informatics-isi-edu/ermrest