I want to migrate my iPhone app to a new database version. Since I don\'t have some version saved, I need to check if certain column names exist.
This Stackoverflow
PRAGMA table_info(table_name);
will get you a list of all the column names.