Fix esp migrations with sqlite