db genrate resolved