From ed2bcb6855e3d0e74e1b85aeb69e380a562b0c89 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 13 Mar 2013 16:28:41 -0700 Subject: [PATCH] directory synchronisation timestamps --- boot.php | 2 +- install/database.sql | 7 +++++++ install/update.php | 14 +++++++++++++- version.inc | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 8fad37f06..651b492e1 100644 --- a/boot.php +++ b/boot.php @@ -17,7 +17,7 @@ require_once('include/features.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica Red'); define ( 'FRIENDICA_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'ZOT_REVISION', 1 ); -define ( 'DB_UPDATE_VERSION', 1034 ); +define ( 'DB_UPDATE_VERSION', 1035 ); define ( 'EOL', '
' . "\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/install/database.sql b/install/database.sql index 24b5a550a..4f503fc12 100644 --- a/install/database.sql +++ b/install/database.sql @@ -840,6 +840,13 @@ CREATE TABLE IF NOT EXISTS `tokens` ( KEY `uid` (`uid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; +CREATE TABLE IF NOT EXISTS `updates` ( + `ud_hash` char(128) NOT NULL, + `ud_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + PRIMARY KEY (`ud_hash`), + KEY `ud_date` (`ud_date`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + CREATE TABLE IF NOT EXISTS `verify` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `channel` int(10) unsigned NOT NULL DEFAULT '0', diff --git a/install/update.php b/install/update.php index 2d06e406a..4bdba3507 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@