From: Michael Vogel Date: Fri, 11 Sep 2015 19:56:37 +0000 (+0200) Subject: Database update for worker X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ce9b4e868b68269277a88bd34e9b05244366e9ab;p=friendica.git Database update for worker --- diff --git a/boot.php b/boot.php index b3b9265219..3bbbef3c96 100644 --- a/boot.php +++ b/boot.php @@ -19,7 +19,7 @@ define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_CODENAME', 'Lily of the valley'); define ( 'FRIENDICA_VERSION', '3.4.1' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); -define ( 'DB_UPDATE_VERSION', 1188 ); +define ( 'DB_UPDATE_VERSION', 1189 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/database.sql b/database.sql index 76df6aec19..a6eb71ef3b 100644 --- a/database.sql +++ b/database.sql @@ -1,6 +1,6 @@ -- ------------------------------------------ -- Friendica 3.4.1 (Lily of the valley) --- DB_UPDATE_VERSION 1188 +-- DB_UPDATE_VERSION 1189 -- ------------------------------------------ @@ -1020,3 +1020,16 @@ CREATE TABLE IF NOT EXISTS `userd` ( INDEX `username` (`username`) ) DEFAULT CHARSET=utf8; +-- +-- TABLE workerqueue +-- +CREATE TABLE IF NOT EXISTS `workerqueue` ( + `id` int(11) NOT NULL auto_increment PRIMARY KEY, + `parameter` text NOT NULL, + `priority` tinyint(3) unsigned NOT NULL DEFAULT 0, + `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `pid` int(11) NOT NULL DEFAULT 0, + `executed` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + INDEX `created` (`created`) +) DEFAULT CHARSET=utf8; + diff --git a/update.php b/update.php index 761da7273d..06aab577a3 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@