From 53dfeca5ad13359f4971722014fe8c2c4c8a076c Mon Sep 17 00:00:00 2001 From: Alex Osborne Date: Sat, 28 Jul 2012 16:33:29 +1000 Subject: [PATCH] It's about time we had an index on the jars table. --- clojars.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clojars.sql b/clojars.sql index f845ad4c..4f562284 100644 --- a/clojars.sql +++ b/clojars.sql @@ -18,6 +18,8 @@ create table jars homepage TEXT, scm TEXT, authors TEXT); + +create index jars_idx0 on jars (group_name, jar_name, created desc); create table deps (id INTEGER PRIMARY KEY AUTOINCREMENT,