Fix version number if schema/{mysql,pgsql}.sql

fixes #7397