mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-03 06:44:03 +01:00
Always set changed date when marking a DB record as deleted + provide a cleanup script
This commit is contained in:
@@ -68,6 +68,7 @@ CREATE TABLE identities (
|
||||
identity_id integer DEFAULT nextval('identity_ids'::text) PRIMARY KEY,
|
||||
user_id integer NOT NULL
|
||||
REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
changed timestamp with time zone DEFAULT now() NOT NULL,
|
||||
del smallint DEFAULT 0 NOT NULL,
|
||||
standard smallint DEFAULT 0 NOT NULL,
|
||||
name varchar(128) NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user