diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-15 06:33:30 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-15 06:33:30 +0000 |
| commit | bbe3c2010df9041645a60c76cc3d3694a3aa05eb (patch) | |
| tree | 50b19693ce589b993b6281d391483c28c3731361 /roundcubemail/SQL/sqlite.update.sql | |
| parent | 39daa0f89694f758f0544fce7ec48ed3230eea2c (diff) | |
Always set changed date when marking a DB record as deleted + provide a cleanup script
git-svn-id: https://svn.roundcube.net/trunk@3489 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/sqlite.update.sql')
| -rw-r--r-- | roundcubemail/SQL/sqlite.update.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/SQL/sqlite.update.sql b/roundcubemail/SQL/sqlite.update.sql index 1011f52c2..dd2887ca2 100644 --- a/roundcubemail/SQL/sqlite.update.sql +++ b/roundcubemail/SQL/sqlite.update.sql @@ -48,6 +48,8 @@ CREATE INDEX ix_contacts_user_id ON contacts(user_id, email); DROP INDEX ix_identities_user_id; CREATE INDEX ix_identities_user_id ON identities (user_id, del); +ALTER TABLE identities ADD COLUMN changed datetime NOT NULL default '0000-00-00 00:00:00'; + CREATE TABLE contactgroups ( contactgroup_id integer NOT NULL PRIMARY KEY, user_id integer NOT NULL default '0', |
