no-op formatting change

This commit is contained in:
David Dworken 2023-09-22 19:22:03 -07:00
parent bbfda0be96
commit e089690cbb
No known key found for this signature in database

View File

@ -181,9 +181,7 @@ func install(secretKey string, offline bool) error {
// Handles people running `hishtory update` when the DB needs updating. // Handles people running `hishtory update` when the DB needs updating.
func handleDbUpgrades(ctx context.Context) error { func handleDbUpgrades(ctx context.Context) error {
db := hctx.GetDb(ctx) db := hctx.GetDb(ctx)
return db.Exec(` return db.Exec(`UPDATE history_entries SET entry_id = lower(hex(randomblob(12))) WHERE entry_id IS NULL`).Error
UPDATE history_entries SET entry_id = lower(hex(randomblob(12))) WHERE entry_id IS NULL
`).Error
} }
// Handles people running `hishtory update` from an old version of hishtory that // Handles people running `hishtory update` from an old version of hishtory that