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

there is already another table or index with this name: rush_co_uk_rushorm_android_RushJSONFile_temp #9

Closed
dco5 opened this issue Feb 25, 2015 · 5 comments
Assignees
Labels

Comments

@dco5
Copy link

dco5 commented Feb 25, 2015

Im getting:
there is already another table or index with this name: rush_co_uk_rushorm_android_RushJSONFile_temp
java.lang.RuntimeException: Unable to create application org.hapl.haplapp.HAPL: android.database.sqlite.SQLiteException: there is already another table or index with this name: rush_co_uk_rushorm_android_RushJSONFile_temp (code 1): , while compiling: ALTER TABLE rush_co_uk_rushorm_android_RushJSONFile RENAME TO rush_co_uk_rushorm_android_RushJSONFile_temp

@Stuart-campbell
Copy link
Owner

Hi,

Sounds like during a previous upgrade it failed to clean up the temp tables created in the migration. Reinstalling will fix it for now, but looks like ill need to put a check in place.

Thanks

@dco5
Copy link
Author

dco5 commented Feb 25, 2015

How can I re install it? Sorry I am really new to this...

@Stuart-campbell
Copy link
Owner

Fully uninstall your app and reinstall it. So that the old db is removed.

@dco5
Copy link
Author

dco5 commented Feb 25, 2015

Oh ok... That would not be a good solution if it goes to production. I will wait for your fix. Thank you!

Stuart-campbell added a commit that referenced this issue Feb 25, 2015
…rush_co_uk_rushorm_android_RushJSONFile_temp #9"
@Stuart-campbell
Copy link
Owner

Was unable to reproduce the bug, so couldn't test that it's fixed. Hopefully it is though, let me know if 1.0.3 does not do the job.

Thanks

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

No branches or pull requests

2 participants