mirror of
https://github.com/mattermost/focalboard.git
synced 2025-02-01 19:14:35 +02:00
Fix a backward compatibility problem
This commit is contained in:
parent
83375684af
commit
d668bf6626
@ -48,7 +48,7 @@ func (pm *PrefixedMigration) ReadUp(version uint) (io.ReadCloser, string, error)
|
||||
if err != nil {
|
||||
return nil, "", err
|
||||
}
|
||||
return io.NopCloser(bytes.NewReader(buffer.Bytes())), identifier, nil
|
||||
return ioutil.NopCloser(bytes.NewReader(buffer.Bytes())), identifier, nil
|
||||
}
|
||||
|
||||
func (pm *PrefixedMigration) ReadDown(version uint) (io.ReadCloser, string, error) {
|
||||
@ -69,7 +69,7 @@ func (pm *PrefixedMigration) ReadDown(version uint) (io.ReadCloser, string, erro
|
||||
if err != nil {
|
||||
return nil, "", err
|
||||
}
|
||||
return io.NopCloser(bytes.NewReader(buffer.Bytes())), identifier, nil
|
||||
return ioutil.NopCloser(bytes.NewReader(buffer.Bytes())), identifier, nil
|
||||
}
|
||||
|
||||
func (s *SQLStore) Migrate() error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user