mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-15 09:53:47 +01:00
14 lines
285 B
Go
14 lines
285 B
Go
|
package upgrades
|
||
|
|
||
|
import (
|
||
|
"database/sql"
|
||
|
|
||
|
"maunium.net/go/mautrix/crypto/sql_store_upgrade"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
upgrades[18] = upgrade{"Add megolm withheld data to crypto store", func(tx *sql.Tx, c context) error {
|
||
|
return sql_store_upgrade.Upgrades[2](tx, c.dialect.String())
|
||
|
}}
|
||
|
}
|