I am trying to create a table in sqlite that takes data from a csv file and adds an autoincrementing primary key to the first column. Here is the table I am trying to insert
An empty field in a CSV file is just an empty string, which is not valid for an INTEGER PRIMARY KEY column.
INTEGER PRIMARY KEY
Import into a temporary table without that column, then copy the data over with:
INSERT INTO Allegiance(CharacterID, Title) SELECT * FROM TempTable;