I am creating an information system fincareport.com and one of my doubts that I have something thoughtful is that it happens with the tables where the column has id with auto_increment of typo Int reaches its maximum value. In case you change the Int type by BigInt what happens if it also reaches the maximum value.
How to reuse the deleted id ?, ie how to make the ids (2,3,4) re-take the auto_increment and not continue with the 6 until it uses (2,3,4). Example