Why doesn't this create a primary key for the table 'id'

Why does it not create a primary key for the id table?

As I'm not the original author I don't know why that decision was made.

I've contemplated patching it but figured it would break it for a lot of people having already long running databases since it would have to restructure the database fully.