private static final String TABLE_MAIN_CREATE = \"CREATE TABLE IF NOT EXISTS \" + TABLE_MAIN_NAME + \" ( a INTEGER, b LONG, c TEXT, d TEXT, e DATETIME, f TEXT)\";
pr
This method is called after the database connection has been configured and after the database schema has been created, upgraded or downgraded as necessary.
onCreate(db); is not necessary for upgrade your database.