[3.9] Fix sqlite regeneration command