Open tiagocaus opened 3 years ago
SQLite does not support the IF NOT EXISTS or AFTER clauses. See https://www.sqlite.org/lang_altertable.html for the supported syntax.
To determine if the table already contains the column, use PRAGMA table_info(checklist)
.
SQLite does not support inserting columns. You can only append them to the end of the table definition.
I need to add new columns to my app. How do I add a new column at a given position using AFTER?
Example: