mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-05 15:54:03 +01:00
Always set changed date when marking a DB record as deleted + provide a cleanup script
This commit is contained in:
@@ -49,6 +49,8 @@ CREATE INDEX contacts_user_id_idx ON contacts (user_id, email);
|
||||
DROP INDEX identities_user_id_idx;
|
||||
CREATE INDEX identities_user_id_idx ON identities (user_id, del);
|
||||
|
||||
ALTER TABLE identities ADD changed timestamp with time zone DEFAULT now() NOT NULL AFTER user_id;
|
||||
|
||||
CREATE SEQUENCE contactgroups_ids
|
||||
INCREMENT BY 1
|
||||
NO MAXVALUE
|
||||
|
||||
Reference in New Issue
Block a user