Parcourir la source

Index for stat_view table.

Iñigo Valentin il y a 9 ans
Parent
commit
48c021d311
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      sql/setup.sql

+ 1 - 0
sql/setup.sql

@@ -135,6 +135,7 @@ CREATE TABLE stat_view (
 	entry	VARCHAR(100)	NOT NULL,
 	dtime	TIMESTAMP		NOT NULL	DEFAULT now()
 );
+CREATE INDEX visit_dtime ON stat_view(visit, dtime);
 
 DROP TABLE IF EXISTS sync;
 CREATE TABLE sync (