diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-11-22 18:06:13 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-11-22 18:06:13 +0000 |
| commit | daed092b293e227909e29f5b7aad7c9aa38d47ac (patch) | |
| tree | 9d351ce7073c892b0b2ac6704d2091b7a668c1f4 /roundcubemail/SQL/postgres.update.sql | |
| parent | e00d46500c4740745ef34e70f5db783fae0a291c (diff) | |
- fix r2076: removed cache.session_id column, removed DELETEs from cache in session_gc
- trust DB server's time when "touching" cache and messages tables
git-svn-id: https://svn.roundcube.net/trunk@2077 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/postgres.update.sql')
| -rw-r--r-- | roundcubemail/SQL/postgres.update.sql | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/roundcubemail/SQL/postgres.update.sql b/roundcubemail/SQL/postgres.update.sql index f9cd431b6..6832b962f 100644 --- a/roundcubemail/SQL/postgres.update.sql +++ b/roundcubemail/SQL/postgres.update.sql @@ -24,8 +24,6 @@ CREATE INDEX messages_created_idx ON messages (created); -- Updates from version 0.2-beta -ALTER TABLE cache DROP CONSTRAINT cache_session_id_fkey; -ALTER TABLE cache ADD FOREIGN KEY (session_id) REFERENCES session (sess_id) ON DELETE CASCADE ON UPDATE CASCADE; +ALTER TABLE cache DROP session_id; -CREATE INDEX cache_session_id_idx ON cache (session_id); CREATE INDEX session_changed_idx ON session (changed); |
