Add index for interactive search (#493)
This commit is contained in:
parent
474170fd90
commit
8478a598db
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue