directory synchronisation timestamps
This commit is contained in:
parent
62e55ae63b
commit
ed2bcb6855
2
boot.php
2
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', '<br />' . "\r\n" );
|
||||
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
||||
|
@ -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',
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1034 );
|
||||
define( 'UPDATE_VERSION' , 1035 );
|
||||
|
||||
/**
|
||||
*
|
||||
@ -433,3 +433,15 @@ KEY `share_xchan` (`share_xchan`)
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
function update_r1034() {
|
||||
$r = q("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");
|
||||
|
||||
if($r)
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
2013-03-12.250
|
||||
2013-03-13.251
|
||||
|
Reference in New Issue
Block a user