upgrade sql scheme for 5.13