diff options
author | alecpl <alec@alec.pl> | 2008-11-22 18:06:13 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-11-22 18:06:13 +0000 |
commit | dcf780a6bd5065ffb0dcc76233b1e5f601e258d2 (patch) | |
tree | f1e127b3cf04f18cf3776af057edd4fa57ec36e1 /SQL/mysql5.initial.sql | |
parent | 3e48d2eee1d2af42aa777fd5e461fa570762732e (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
Diffstat (limited to 'SQL/mysql5.initial.sql')
-rw-r--r-- | SQL/mysql5.initial.sql | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/SQL/mysql5.initial.sql b/SQL/mysql5.initial.sql index 7d11288e3..b162e4ddf 100644 --- a/SQL/mysql5.initial.sql +++ b/SQL/mysql5.initial.sql @@ -68,7 +68,6 @@ CREATE TABLE `messages` ( CREATE TABLE `cache` ( `cache_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `session_id` varchar(40) CHARACTER SET ascii COLLATE ascii_general_ci, `cache_key` varchar(128) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL, `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `data` longtext NOT NULL, @@ -78,10 +77,6 @@ CREATE TABLE `cache` ( CONSTRAINT `user_id_fk_cache` FOREIGN KEY (`user_id`) REFERENCES `users`(`user_id`) ON DELETE CASCADE - ON UPDATE CASCADE, - CONSTRAINT `session_id_fk_cache` FOREIGN KEY (`session_id`) - REFERENCES `session`(`sess_id`) - ON DELETE CASCADE ON UPDATE CASCADE ) TYPE=INNODB CHARACTER SET utf8 COLLATE utf8_general_ci; |