set a dummy convoy for all blanks
This commit is contained in:
parent
d357480a1f
commit
49a5b2ca8b
|
@ -269,7 +269,10 @@ func upgradedb() {
|
|||
doordie(db, "update config set value = 24 where key = 'dbversion'")
|
||||
fallthrough
|
||||
case 24:
|
||||
|
||||
doordie(db, "update honks set convoy = 'missing-' || abs(random() % 987654321) where convoy = ''")
|
||||
doordie(db, "update config set value = 25 where key = 'dbversion'")
|
||||
fallthrough
|
||||
case 25:
|
||||
default:
|
||||
log.Fatalf("can't upgrade unknown version %d", dbversion)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue