mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-15 01:43:49 +01:00
Add word to unsupported database error message
This commit is contained in:
parent
b240eb94d8
commit
c3a9f75ffd
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ const NumberOfUpgrades = 36
|
|||
|
||||
var upgrades [NumberOfUpgrades]upgrade
|
||||
|
||||
var UnsupportedDatabaseVersion = fmt.Errorf("unsupported database version")
|
||||
var UnsupportedDatabaseVersion = fmt.Errorf("unsupported database schema version")
|
||||
|
||||
func GetVersion(db *sql.DB) (int, error) {
|
||||
_, err := db.Exec("CREATE TABLE IF NOT EXISTS version (version INTEGER)")
|
||||
|
|
Loading…
Reference in a new issue