summaryrefslogtreecommitdiffstats
path: root/atuin-client/migrations/20220806155627_interactive_search_index.sql
blob: b5770e62e0c2c935fcb0368e87edd4c7280e1bef (plain)
1
2
3
4
5
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
);