1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00

GH 2593: Fix Windows migration (#2767)

* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Fix #2593: Fix Windows migration
This commit is contained in:
Chen-I Lim 2022-04-12 12:17:58 -07:00 committed by GitHub
parent 2b3ed75b3b
commit af35a8e2c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,6 @@ import (
"github.com/mattermost/focalboard/server/utils"
"path/filepath"
"strconv"
"text/template"
@ -147,7 +146,7 @@ func (s *SQLStore) Migrate() error {
migrationAssets := &embedded.AssetSource{
Names: assetNamesForDriver,
AssetFunc: func(name string) ([]byte, error) {
asset, mErr := assets.ReadFile(filepath.Join("migrations", name))
asset, mErr := assets.ReadFile("migrations/" + name)
if mErr != nil {
return nil, mErr
}