HHH-8263 secondary table's primary key is not created