mardi 13 octobre 2015

Android and sqlite update

I currently have a working sqlite database with one table that is functioning with my application,

but I wanted to add a couple more columns, I looked this up and it looks like it requires an alter-table, executed onUpgrade,

  • does this mean I have to upgrade the sqlite database completely in order to just add the two columns I need?

  • Is this the only way to tweak the table?

  • If I have a typo or anything, I have to upgrade?

I am fairly new to sqlite and general dbms, so forgive my ignorance

Aucun commentaire:

Enregistrer un commentaire