fix gmysql upgrade schema