Added migration which should fix bug where some header tables don't have
their primary key set up correctly.