mirror of
https://github.com/atuinsh/atuin.git
synced 2025-06-25 04:11:53 +02: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…
x
Reference in New Issue
Block a user