aboutsummaryrefslogtreecommitdiffstats
path: root/install/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-01 16:55:37 -0700
committerfriendica <info@friendica.com>2013-08-01 16:55:37 -0700
commit6197f945adb62da9d1aeb2a8f4058ed4651fa3b6 (patch)
tree542d736320e257f2585d53f4467ac07506f482de /install/database.sql
parent85b6be5b00a4a012bf9a2db8d72e70a225fac8a3 (diff)
downloadvolse-hubzilla-6197f945adb62da9d1aeb2a8f4058ed4651fa3b6.tar.gz
volse-hubzilla-6197f945adb62da9d1aeb2a8f4058ed4651fa3b6.tar.bz2
volse-hubzilla-6197f945adb62da9d1aeb2a8f4058ed4651fa3b6.zip
add "xchan_instance_url" for communicating with services that lack nomadic identity. This will be set to the url of the Red site that they are connected with. Only the nomadic identity clone at that site can communicate directly with them. Other instances will need to relay through that site - and if it goes down, that connection is stuffed.
Diffstat (limited to 'install/database.sql')
-rw-r--r--install/database.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/database.sql b/install/database.sql
index dee9734fc..0c4b868d2 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -910,6 +910,7 @@ CREATE TABLE IF NOT EXISTS `xchan` (
`xchan_connurl` char(255) NOT NULL DEFAULT '',
`xchan_name` char(255) NOT NULL DEFAULT '',
`xchan_network` char(255) NOT NULL DEFAULT '',
+ `xchan_instance_url` char(255) NOT NULL DEFAULT '',
`xchan_flags` int(10) unsigned NOT NULL DEFAULT '0',
`xchan_photo_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`xchan_name_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
@@ -918,6 +919,7 @@ CREATE TABLE IF NOT EXISTS `xchan` (
KEY `xchan_addr` (`xchan_addr`),
KEY `xchan_name` (`xchan_name`),
KEY `xchan_network` (`xchan_network`),
+ KEY `xchan_instance_url` (`xchan_instance_url`),
KEY `xchan_url` (`xchan_url`),
KEY `xchan_flags` (`xchan_flags`),
KEY `xchan_connurl` (`xchan_connurl`)