lots of fixes - most recent photo updates for contacts

This commit is contained in:
Mike Macgirvin
2010-08-08 21:03:08 -07:00
parent 0bcd552231
commit d11c1c63c0
15 changed files with 231 additions and 47 deletions

View File

@@ -60,6 +60,9 @@ CREATE TABLE IF NOT EXISTS `contact` (
`ret-id` char(255) NOT NULL,
`ret-pubkey` text NOT NULL,
`last-update` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`name-date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`uri-date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`avatar-date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`priority` tinyint(3) NOT NULL,
`blocked` tinyint(1) NOT NULL DEFAULT '1',
`readonly` tinyint(1) NOT NULL DEFAULT '0',