ActiveAndroid
ActiveAndroid copied to clipboard
duplicate column name
version 1: version 2: add a table t_user version 3: alter t_user add column gender integer
when i update from version 1 to version 3, and exception appears( duplicate column name 'gender' )
the same problem 😞, some help?
i just forked a branch, and modify the DatabaseHelper.java, catch all the migration methods, https://github.com/teemoY/ActiveAndroid/blob/teemo-3.1.0/src/com/activeandroid/DatabaseHelper.java
stupid and valid
Hello. ActiveAndroid no longer be maintained. You can use ReActiveAndroid, it's based on ActiveAndroid.
i just forked a branch, and modify the DatabaseHelper.java, catch all the migration methods, https://github.com/teemoY/ActiveAndroid/blob/teemo-3.1.0/src/com/activeandroid/DatabaseHelper.java
stupid and valid
what did you have change/update/optimize the code for the class of DatabaseHelper.java?