Fix esp generate table | migration