mercredi 30 mars 2016

SQLite-Net Extensions - Does the CreateTable function alter my existing tables?

I am using SQLite-net together with the TwinCoders NuGet for extension methods in a MvvmCross Xamarin project. I want to make the database to stay updated even if I will modify the models in future.

My question is: If I use the CreateTable function for creating a SQLite table based on the model and the database already exists on the tablet/phone, but it has a different structure (let's say that the table has a missing column which was added in the last update), will this function alter the existing table? Thanks!

Aucun commentaire:

Enregistrer un commentaire