atuin/atuin-client/migrations/20220806155627_interactive_search_index.sql
2022-09-10 11:21:05 +01:00

6 lines
216 B
SQL

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