diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-06 10:32:37 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-06 10:32:37 +0200 |
commit | 83121ece3348bfe09bb1026eace79a74a5ccf2c9 (patch) | |
tree | 9f64f143b8a859db3930a649a404cdcc46434660 /SQL/sqlite.update.sql | |
parent | a025cddbc5643d1e8c9d2bf733a101417213d91b (diff) |
- Removed redundant cache.cache_id column (#1488528)
Diffstat (limited to 'SQL/sqlite.update.sql')
-rw-r--r-- | SQL/sqlite.update.sql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/SQL/sqlite.update.sql b/SQL/sqlite.update.sql index 9f410fb13..ddadde3ea 100644 --- a/SQL/sqlite.update.sql +++ b/SQL/sqlite.update.sql @@ -333,3 +333,16 @@ INSERT INTO contacts (contact_id, user_id, changed, del, name, email, firstname, CREATE INDEX ix_contacts_user_id ON contacts(user_id, del); DROP TABLE contacts_tmp; + +-- Updates from version 0.8 + +DROP TABLE cache; +CREATE TABLE cache ( + user_id integer NOT NULL default 0, + cache_key varchar(128) NOT NULL default '', + created datetime NOT NULL default '0000-00-00 00:00:00', + data text NOT NULL +); + +CREATE INDEX ix_cache_user_cache_key ON cache(user_id, cache_key); +CREATE INDEX ix_cache_created ON cache(created); |