added createIndex method to adapter migrations. updated docs