From 027f932ff53d0bd42ba8bb805660a332fc2910a9 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 6 May 2013 03:55:58 -0700 Subject: [PATCH] add driver param to output queue so we know what protocol to use when faced with multiple choice --- boot.php | 2 +- install/database.sql | 1 + install/update.php | 11 ++++++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index 6fd785621..e230a13c6 100644 --- a/boot.php +++ b/boot.php @@ -41,7 +41,7 @@ require_once('include/features.php'); define ( 'RED_PLATFORM', 'Red' ); define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'ZOT_REVISION', 1 ); -define ( 'DB_UPDATE_VERSION', 1041 ); +define ( 'DB_UPDATE_VERSION', 1042 ); 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 720c79402..025bd3d39 100644 --- a/install/database.sql +++ b/install/database.sql @@ -597,6 +597,7 @@ CREATE TABLE IF NOT EXISTS `outq` ( `outq_hash` char(255) NOT NULL, `outq_account` int(10) unsigned NOT NULL DEFAULT '0', `outq_channel` int(10) unsigned NOT NULL DEFAULT '0', + `outq_driver` char(32) NOT NULL DEFAULT '', `outq_posturl` char(255) NOT NULL DEFAULT '', `outq_async` tinyint(1) NOT NULL DEFAULT '0', `outq_delivered` tinyint(1) NOT NULL DEFAULT '0', diff --git a/install/update.php b/install/update.php index 7dbc601c8..8a225867e 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@