vendredi 4 décembre 2015

SQLite on iOS...alter table IF? [duplicate]

This question already has an answer here:

I have inherited an existing iOS app codebase and have been told to alter a sqlite table but not use versioning (as in not just store a constant somewhere in the app that dictates how/whether to update the table). Is there a way to check whether a column exists and add that column if it doesn't exist without versioning?

Aucun commentaire:

Enregistrer un commentaire