mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-15 18:03:52 +01:00
14 lines
302 B
Go
14 lines
302 B
Go
|
package upgrades
|
||
|
|
||
|
import (
|
||
|
"database/sql"
|
||
|
|
||
|
"maunium.net/go/mautrix/crypto/sql_store_upgrade"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
upgrades[23] = upgrade{"Replace VARCHAR(255) with TEXT in the crypto database", func(tx *sql.Tx, ctx context) error {
|
||
|
return sql_store_upgrade.Upgrades[4](tx, ctx.dialect.String())
|
||
|
}}
|
||
|
}
|