EyeSeeTea / malariapp

Android app to help with health center assessments (development repository)
GNU General Public License v3.0
6 stars 3 forks source link

Modify AddColumn to add if not exists #2456

Closed xurxodev closed 3 years ago

xurxodev commented 3 years ago

:pushpin: References

:gear: branches

app: Origin: feature/modify_add_column_migrations Target: v1.6_hnqis bugshaker-android: Origin: downgrade_gradle_version
EyeSeeTea-SDK: Origin: development SDK: Origin: feature-2.30_upgrade_gradle

:tophat: What is the goal?

Fix: if we install a new APK without uninstalling the previous app, the new app crashes a lot.

:memo: How is it being implemented?

:boom: How can it be tested?

Install 1.4 app from v1.4_hnqis branch, important set submodule branches because is bad linked from v1.4_hnqis: bugshaker-android: Origin: downgrade_gradle_version
EyeSeeTea-SDK: Origin: development SDK: Origin: feature-2.30_upgrade_gradle

use case 1: Realize login and pull

Install 1.6 app from this pull request branch

use case 1: execute the app and the app should open successfully and the database should have the server table with connected, classification columns and one row with the connected server. (all servers only are inserted from the login screen)

:floppy_disk: Requires DB migration?

:art: UI changes?

ifoche commented 3 years ago

forget about my previous comment, it's an error in my local fs