From 5499336feff22f682448dd99cc00a9b36701fcd1 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 21 Jul 2009 12:02:33 -0400 Subject: [PATCH] Use global request tokens and automatically protect all POST requests --- SQL/sqlite.initial.sql | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/SQL/sqlite.initial.sql b/SQL/sqlite.initial.sql index e78ce42..ef7cb43 100644 --- a/SQL/sqlite.initial.sql +++ b/SQL/sqlite.initial.sql @@ -1,8 +1,4 @@ -- RoundCube Webmail initial database structure --- Version 0.1 --- - --- -------------------------------------------------------- -- -- Table structure for table `cache` @@ -17,6 +13,7 @@ ); CREATE INDEX ix_cache_user_cache_key ON cache(user_id, cache_key); +CREATE INDEX ix_cache_created ON cache(created); -- -------------------------------------------------------- @@ -75,7 +72,7 @@ alias varchar(128) NOT NULL default '', created datetime NOT NULL default '0000-00-00 00:00:00', last_login datetime NOT NULL default '0000-00-00 00:00:00', - language varchar(5) NOT NULL default 'en', + language varchar(5), preferences text NOT NULL default '' ); -- Gitblit v1.9.1