Database versioning, Android style
Question: how can we track database schema upgrades? How can we make sure our database structure matches the deployed code? One answer: in Android’s SQLite database, they solve this problem by storing a version number in a database property. When an application opens a connection, the version number in the code is checked against …