Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate column name #542

Open
teemoY opened this issue Jan 9, 2018 · 4 comments
Open

duplicate column name #542

teemoY opened this issue Jan 9, 2018 · 4 comments

Comments

@teemoY
Copy link

teemoY commented Jan 9, 2018

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' )

@javieritis
Copy link

the same problem 😞, some help?

@teemoY
Copy link
Author

teemoY commented Jan 22, 2018

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

@ImangazalievM
Copy link

ImangazalievM commented Jan 24, 2018

Hello. ActiveAndroid no longer be maintained. You can use ReActiveAndroid, it's based on ActiveAndroid.

Full Documentation.

@aikongmeng aikongmeng mentioned this issue Apr 9, 2019
@hasnain-ahmad
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants