db generate issue resolved