mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-23 00:34:27 +01:00
no-op formatting change
This commit is contained in:
parent
bbfda0be96
commit
e089690cbb
@ -181,9 +181,7 @@ func install(secretKey string, offline bool) error {
|
||||
// Handles people running `hishtory update` when the DB needs updating.
|
||||
func handleDbUpgrades(ctx context.Context) error {
|
||||
db := hctx.GetDb(ctx)
|
||||
return db.Exec(`
|
||||
UPDATE history_entries SET entry_id = lower(hex(randomblob(12))) WHERE entry_id IS NULL
|
||||
`).Error
|
||||
return db.Exec(`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
|
||||
|
Loading…
Reference in New Issue
Block a user