I have some table in SQLite that has a column named Numbers. This table contains N elements. I want to create some kind of an update query that allows me to change Numbers' values for 1-N.
I wanted to add a new column that autoincrements (so it would be exactly as I want to). Then copy values from my temporary column to Numbers (I don't want to rename it to avoid dealing with constraints). Then drop the temp column. But... The problem is SQLite doesn't support anything like RENAME COLUMN/DELETE COLUMN for ALTER TABLE.
How can I update my column in such a way?