aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-19 17:24:11 -0700
committerzotlabs <mike@macgirvin.com>2017-10-19 17:24:11 -0700
commit9d51318c53e1adc2e4d4c8586f8783819516991e (patch)
tree444ed9e137016bd1e399d36d784126378a21524c /install/schema_mysql.sql
parent52183f8bf85777068839490c37a882191f216fe4 (diff)
downloadvolse-hubzilla-9d51318c53e1adc2e4d4c8586f8783819516991e.tar.gz
volse-hubzilla-9d51318c53e1adc2e4d4c8586f8783819516991e.tar.bz2
volse-hubzilla-9d51318c53e1adc2e4d4c8586f8783819516991e.zip
table structure for pseudo or proxy channels (pchan)
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 3143854f5..afa3c095d 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -900,6 +900,19 @@ CREATE TABLE IF NOT EXISTS `outq` (
KEY `outq_priority` (`outq_priority`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+CREATE TABLE IF NOT EXISTS pchan (
+ `pchan_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
+ `pchan_guid` char(191) NOT NULL DEFAULT '',
+ `pchan_hash` char(191) NOT NULL DEFAULT '',
+ `pchan_pubkey` text NOT NULL,
+ `pchan_prvkey` text NOT NULL,
+ PRIMARY KEY (`pchan_id`),
+ KEY `pchan_guid` (`pchan_guid`),
+ KEY `pchan_hash` (`pchan_hash`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+
CREATE TABLE IF NOT EXISTS `pconfig` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT 0 ,