Always set changed date when marking a DB record as deleted + provide a cleanup script

This commit is contained in:
thomascube
2010-04-15 06:33:30 +00:00
parent 58892824a6
commit a35062a1eb
11 changed files with 99 additions and 22 deletions

View File

@@ -65,6 +65,7 @@ CREATE TABLE contactgroupmembers (
CREATE TABLE identities (
identity_id integer NOT NULL PRIMARY KEY,
user_id integer NOT NULL default '0',
changed datetime NOT NULL default '0000-00-00 00:00:00',
del tinyint NOT NULL default '0',
standard tinyint NOT NULL default '0',
name varchar(128) NOT NULL default '',