Autoincrement behavior applies only to columns declared as INTEGER PRIMARY KEY
. So the easiest ways to disable it are:
- Declare the column as
UNIQUE
instead ofPRIMARY KEY
. - Declare the column type as
INT
instead ofINTEGER
.
Note that either one will give you a column with integer affinity instead of being constrained to contain only integers.