Fixes DBTable missing column for primarykey