mirror of
https://github.com/ellie/atuin.git
synced 2024-07-07 09:26:22 +03:00
fix: ambiguous column name (#2232)
This commit is contained in:
parent
5fe8ae05e5
commit
a67cfc82fe
|
@ -571,7 +571,7 @@ impl Database for Postgres {
|
|||
"insert into store_idx_cache
|
||||
(user_id, host, tag, idx)
|
||||
values ($1, $2, $3, $4)
|
||||
on conflict(user_id, host, tag) do update set idx = greatest(idx, $4)
|
||||
on conflict(user_id, host, tag) do update set idx = greatest(store_idx_cache.idx, $4)
|
||||
",
|
||||
)
|
||||
.bind(user.id)
|
||||
|
|
Loading…
Reference in New Issue
Block a user