From c3a9f75ffd9d7c70bddb73c4df44a85d6e9e61f5 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 6 Feb 2022 21:03:04 +0200 Subject: [PATCH] Add word to unsupported database error message --- database/upgrades/upgrades.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/upgrades/upgrades.go b/database/upgrades/upgrades.go index 8cacc69..64c066a 100644 --- a/database/upgrades/upgrades.go +++ b/database/upgrades/upgrades.go @@ -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)")