db_gen moved out to common