If you’re getting an error that reads “AUTOINCREMENT not allowed on WITHOUT ROWID tables” in SQLite, it appears that you’re trying to define a column as an AUTOINCREMENT
in a WITHOUT ROWID
table.
SQLite doesn’t allow us to create AUTOINCREMENT
columns on WITHOUT ROWID
tables.
To address this issue, either remove the AUTOINCREMENT
attribute or remove the WITHOUT ROWID
from the table definition.