Primary key does not follow the logical order

I can imagine that I made some mistakes and the primary key of my table is no longer a plus one list but I haven’t removed any rows while making my planet table. Yet the primary key is not following along as it should. Could this be a bug? I don’t know yet how to reproduce as I haven’t tried but I guess I’ll get the same result while making my other tables.

Without seeing the code is hard to tell but looks like the table is taking the primery key from somewhere else instead generating in order, check if are some id that matches with the planet id that are assigned, problably the error would be there

I must be honest, I don’t kno where the primary key would be fetched from as I don’t have a table with more then a couple of rows. What do you mean “without seeing the code” How can I make you can see the code?.