From 5914ebbfe8687abd91be28490d3abb50add96400 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 18 Feb 2013 16:04:01 -0800 Subject: [PATCH] reverse the cyclic conundrum, and a minor db update of no consequence --- boot.php | 3 ++- install/database.sql | 17 +++++++++++++++++ install/update.php | 24 +++++++++++++++++++++++- 3 files changed, 42 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index 3d6f1f3f7..8d2e7c6e8 100644 --- a/boot.php +++ b/boot.php @@ -16,7 +16,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', 1030 ); +define ( 'DB_UPDATE_VERSION', 1031 ); define ( 'EOL', '
' . "\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); @@ -415,6 +415,7 @@ define ( 'ITEM_MENTIONSME', 0x0400); function startup() { error_reporting(E_ERROR | E_WARNING | E_PARSE); + // Some hosting providers block/disable this @set_time_limit(0); // This has to be quite large to deal with embedded private photos diff --git a/install/database.sql b/install/database.sql index 7fd200017..3dcbb7be0 100644 --- a/install/database.sql +++ b/install/database.sql @@ -440,6 +440,23 @@ CREATE TABLE IF NOT EXISTS `intro` ( KEY `contact-id` (`contact-id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; +CREATE TABLE IF NOT EXISTS `issue` ( + `issue_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `issue_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `issue_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `issue_assigned` char(255) NOT NULL, + `issue_priority` int(11) NOT NULL, + `issue_status` int(11) NOT NULL, + `issue_component` char(255) NOT NULL, + PRIMARY KEY (`issue_id`), + KEY `issue_created` (`issue_created`), + KEY `issue_updated` (`issue_updated`), + KEY `issue_assigned` (`issue_assigned`), + KEY `issue_priority` (`issue_priority`), + KEY `issue_status` (`issue_status`), + KEY `issue_component` (`issue_component`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + CREATE TABLE IF NOT EXISTS `item` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `uri` char(255) CHARACTER SET ascii NOT NULL DEFAULT '', diff --git a/install/update.php b/install/update.php index 290b80cd1..26cd7a173 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@