change database design, To regenerate the code, Repair the refactored code error