mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-25 17:54:55 +01:00
Add index for interactive search (#493)
This commit is contained in:
parent
474170fd90
commit
8478a598db
@ -0,0 +1,6 @@
|
||||
-- Interactive search filters by command then by the max(timestamp) for that
|
||||
-- command. Create an index that covers those
|
||||
create index if not exists idx_history_command_timestamp on history(
|
||||
command,
|
||||
timestamp
|
||||
);
|
Loading…
Reference in New Issue
Block a user