Can I make a field AUTOINCREMENT after made a table? For example, if you create a table like this:
AUTOINCREMENT
create table person(id integer primary key, n
It is possible, and relatively easy. Export the database as an sql file. Alter the SQL file and re-import:
sqlite3 mydata.db .dump > /tmp/backup.sql vi /tmp/backup.sql mv mydata.db mydata.db.old sqlite3 mydata.db sqlite>.read /tmp/backup.sql