1
1
mirror of https://github.com/ellie/atuin.git synced 2024-09-11 21:18:22 +03:00

perf: create idx cache table (#2140)

* perf: add idx cache

* Update crates/atuin-server-postgres/migrations/20240614104159_idx-cache.sql

* indentation

* remove trigger - for each row is too much, should be once per transaction
This commit is contained in:
Ellie Huxtable 2024-07-01 13:49:46 +01:00 committed by GitHub
parent f09be74e78
commit 8b17690359
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,8 @@
create table store_idx_cache(
id bigserial primary key,
user_id bigint,
host uuid,
tag text,
idx bigint
);