samedi 12 mars 2016

Handling multiple upgrades of SqLite in Android (ALTER vs. CREATE)

When incrementing the version number, onUpgrade() gets called for SQLite, and so usually you've got a create-table SQL statement and an alter-table SQL statement.

If there have been multiple versions, do you need to declare multiple alter-table statements?

Aucun commentaire:

Enregistrer un commentaire