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:
parent
2b3ed75b3b
commit
af35a8e2c2
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user