java - activeandroid orm library index=true and unique=true not working -


as activeandroid library suggests use annotation unique , index annotation parameters here,

@column(name = "category", index = true) public string category; 

i tried implement annotation parameters index or unique not available in library. using version 3.0 jar tried version3.1 beta also,same issue there. while 3.1 latest jar available, missing something? please suggest solution create indexes when using activeandroid library. thanks

i had same issue, solved problem updating version 3.1.0 remember add dependency this:

repositories { mavencentral() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } compile 'com.michaelpardo:activeandroid:3.1.0-snapshot' 

Comments