* MM-35030: Hoist GetDBVersion before creating store The creation of the store included running the migrations which means that SQL statements would be executed before we could make the check for DB version. We perform the DB check before running the migrations. https://mattermost.atlassian.net/browse/MM-35030 ```release-note NONE ``` * fix lint error