fixed export is working for table without pk. concrete inheritance case