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

Add index for interactive search (#493)

This commit is contained in:
CosmicHorror 2022-09-10 05:21:05 -05:00 committed by GitHub
parent 474170fd90
commit 8478a598db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
);