Hi to all & hi @Erel ,
I need to add a new column to an existing table in a SQLite production db (db reside on local user's device and the app is published on Play Store).
Can I run the ALTER TABLE with ADD COLUMN command within activity_create event without any additional code ?
I have some questions about this :
1) ALTER TABLE with ADD COLUMN will be executed each time that activity_create event will be called. The SQLite DB engine will natively check if the column already exist and than ignore the command if the column already exist ?
2) ALTER TABLE with ADD COLUMN statement will introduce issues from the app's user side after the command execution ?
I need to add a new column to an existing table in a SQLite production db (db reside on local user's device and the app is published on Play Store).
Can I run the ALTER TABLE with ADD COLUMN command within activity_create event without any additional code ?
I have some questions about this :
1) ALTER TABLE with ADD COLUMN will be executed each time that activity_create event will be called. The SQLite DB engine will natively check if the column already exist and than ignore the command if the column already exist ?
2) ALTER TABLE with ADD COLUMN statement will introduce issues from the app's user side after the command execution ?