Manual ALTER TABLE Migration vs. Ti.Database.open Flags for Schema Upgrade
When upgrading a Titanium app’s SQLite database, the primary goal is to modify the schema while keeping all existing indexes and triggers intact, so that a rollback can be performed safely if needed. Two documented methods exist: executing Ti.Database.execute('ALTER TABLE …') statements manually, and opening the database with flags such as Ti.Database.CREATE