mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-23 16:54:25 +01:00
7 lines
216 B
MySQL
7 lines
216 B
MySQL
|
-- 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
|
||
|
);
|