i am currently using ormar in python for postgresql stuff and i am learning as well. by using this docker git with fastapi, postgress and traefik as template to start my project, i found out the example is using ormar inside and so i try to use it as well by converting my codes into it.
for this case, i would like to truncate the table first before adding another new set of data, with this, my ID as primary key for each row will be reset instead of incrementing everytime i delete and reinsert the data.
for now i am using this command for delete
await MyClass.objects.delete(each=True)
with that code above, i able to delete each row and re insert the data, but my ID is increasing instead of resetting. What can i do to make my ID reset each time i re insert the data into the table?