mirror of
https://github.com/atuinsh/atuin.git
synced 2025-02-09 07:02:54 +01: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:
parent
f09be74e78
commit
8b17690359
@ -0,0 +1,8 @@
|
||||
create table store_idx_cache(
|
||||
id bigserial primary key,
|
||||
user_id bigint,
|
||||
|
||||
host uuid,
|
||||
tag text,
|
||||
idx bigint
|
||||
);
|
Loading…
Reference in New Issue
Block a user