Reputation: 3177
I would like to add another column to a table in my existing SQLite database.
Is this possible, or is there something specific I need to do to upgrade it?
If so, how do I go about doing this?
Upvotes: 3
Views: 5746
Reputation: 79594
Use the ALTER TABLE command:
ALTER TABLE my_table
ADD COLUMN new_column;
Upvotes: 10
Reputation: 791
Consider using an ALTER TABLE script this guide should give you all you need, http://www.sqlite.org/lang_altertable.html
Upvotes: 5