I'm kind of new to MySQL, truncate, and id ... and I'm trying to learn it.
I have a table with 4 objects/rows. I list all of their ID like this.
I wish them to have the id of : 1,2,3,4. But this is what I have right now :
I tried to clear out my table and re-construct it back, but my ID doens't seem to start from 1,2,3 and so forth.
How can I make them start again from 1 every time the database is clear ?
Is there anything that I can tweak on my table, MySQL, or even within my Laravel application to achieve something like this ?