Permalink
Browse files

Add index to files table

  • Loading branch information...
CloCkWeRX committed Nov 30, 2011
1 parent a41a24d commit b84b6fd52f4ca45dc8e9fdfc09c7c613b0a541c4
Showing with 2 additions and 0 deletions.
  1. +2 −0 sql/files.sql
View
@@ -16,3 +16,5 @@ CREATE TABLE files (
PRIMARY KEY (id),
UNIQUE KEY pkg_rel_plat (`package`,`release`,`platform`)
);
+
+ALTER TABLE files ADD INDEX(basename);

0 comments on commit b84b6fd

Please sign in to comment.