Update mautrix-go to fix static build

This commit is contained in:
Tulir Asokan
2020-07-10 16:35:38 +03:00
parent b7275a763a
commit b1fd0be345
3 changed files with 5 additions and 3 deletions

View File

@ -3,11 +3,11 @@ package upgrades
import (
"database/sql"
"maunium.net/go/mautrix/crypto"
"maunium.net/go/mautrix/crypto/sql_store_upgrade"
)
func init() {
upgrades[16] = upgrade{"Add account_id to crypto store", func(tx *sql.Tx, c context) error {
return crypto.SQLStoreMigrations[1](tx, c.dialect.String())
return sql_store_upgrade.Upgrades[1](tx, c.dialect.String())
}}
}