Unique db ID


In my db i store things like articles... and they are given an id like
17 or somthing. When i then delete article 17 and create a new one that
one will have id 17, my question is: Is there a way to give that articel
id 18?

I use sqlite3.


Assuming that you're following conventions, sqlite should
automatically increment the id with each new record. Did you use
migrations to create the database?


The server increment the id, i only check locally and there i didn't
have that. So thank you for make me check that, so my problem is solved.