Fix missing commit statement in migrations/v3.go

This commit is contained in:
Michael Demetriou 2019-10-10 16:49:44 +03:00
parent db14f04b59
commit bc2016f00f
1 changed files with 6 additions and 0 deletions

View File

@ -19,5 +19,11 @@ func supportActivityPubMentions(db *datastore) error {
return err
}
err = t.Commit()
if err != nil {
t.Rollback()
return err
}
return nil
}