From b60e1d862c6e4637e1d2bbfb1fb0c606552656e7 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Sat, 25 Aug 2007 05:48:27 +0100
Subject: add index on ttrss_entries(date_entered), bump schema

---
 schema/ttrss_schema_mysql.sql | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'schema/ttrss_schema_mysql.sql')

diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index f2841a009..1dca03732 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -98,6 +98,8 @@ create table ttrss_entries (id integer not null primary key auto_increment,
 	comments varchar(250) not null default '',
 	author varchar(250) not null default '') TYPE=InnoDB;
 
+create index ttrss_entries_date_entered_index on ttrss_entries(date_entered);
+
 create table ttrss_user_entries (
 	int_id integer not null primary key auto_increment,
 	ref_id integer not null,
@@ -196,7 +198,7 @@ create table ttrss_tags (id integer primary key auto_increment,
 
 create table ttrss_version (schema_version int not null) TYPE=InnoDB;
 
-insert into ttrss_version values (21);
+insert into ttrss_version values (22);
 
 create table ttrss_prefs_types (id integer not null primary key, 
 	type_name varchar(100) not null) TYPE=InnoDB;
-- 
cgit v1.2.3-54-g00ecf

