Inside your .db file there's an table called sqlite_sequence
Each row has two columnsname
which is the name of the tableseq
a integer indicating the current last value at this table
You can update it to 0
But beware if your table use this id as the unique identifier.