allow create_index() to create the primary index