diff --git a/upgradedb.go b/upgradedb.go index 23d2458..1b326fc 100644 --- a/upgradedb.go +++ b/upgradedb.go @@ -105,6 +105,7 @@ func upgradedb() { doordie(db, "alter table users add column options text") doordie(db, "update users set options = ''") doordie(db, "update config set value = 12 where key = 'dbversion'") + case 12: default: log.Fatalf("can't upgrade unknown version %d", dbversion) }