Add migration to rebuild albums paths

This commit is contained in:
Deluan
2023-02-02 14:42:01 -05:00
parent bcab3cc0f9
commit 3c5032a3e8
2 changed files with 63 additions and 1 deletions
@@ -59,7 +59,7 @@ func upAddAlbumPathsDirs(filePaths string) string {
}
slices.Sort(dirs)
dirs = slices.Compact(dirs)
return strings.Join(dirs, consts.Zwsp)
return strings.Join(dirs, string(filepath.ListSeparator))
}
func downAddAlbumPaths(tx *sql.Tx) error {