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

View file

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