aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-08 15:53:48 -0800
committerzotlabs <mike@macgirvin.com>2018-11-08 15:53:48 -0800
commit3fe2491b737375e7c616c47366d5ab6f1c4fb851 (patch)
tree68cc56d84d48382d359812a942e602e7b36bbd34
parent4e6758e31de60263e3a630c562efb93a11c57edf (diff)
downloadvolse-hubzilla-3fe2491b737375e7c616c47366d5ab6f1c4fb851.tar.gz
volse-hubzilla-3fe2491b737375e7c616c47366d5ab6f1c4fb851.tar.bz2
volse-hubzilla-3fe2491b737375e7c616c47366d5ab6f1c4fb851.zip
didn't need xchan_portable_id
-rw-r--r--install/schema_mysql.sql2
-rw-r--r--install/schema_postgres.sql2
2 files changed, 0 insertions, 4 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 8ece64ae2..fb8cd63f7 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -1301,7 +1301,6 @@ CREATE TABLE IF NOT EXISTS `vote` (
CREATE TABLE IF NOT EXISTS `xchan` (
`xchan_hash` char(191) NOT NULL,
- `xchan_portable_id` char(191) NOT NULL DEFAULT '',,
`xchan_guid` char(191) NOT NULL DEFAULT '',
`xchan_guid_sig` text NOT NULL,
`xchan_pubkey` text NOT NULL,
@@ -1328,7 +1327,6 @@ CREATE TABLE IF NOT EXISTS `xchan` (
`xchan_pubforum` tinyint(1) NOT NULL DEFAULT 0 ,
`xchan_deleted` tinyint(1) NOT NULL DEFAULT 0 ,
PRIMARY KEY (`xchan_hash`),
- KEY `xchan_portable_id` (`xchan_portable_id`),
KEY `xchan_guid` (`xchan_guid`),
KEY `xchan_addr` (`xchan_addr`),
KEY `xchan_name` (`xchan_name`),
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index 6e2a09ebf..2fdb2b105 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -1272,7 +1272,6 @@ create index "vote_poll" on vote ("vote_poll");
create index "vote_element" on vote ("vote_element");
CREATE TABLE "xchan" (
"xchan_hash" text NOT NULL,
- "xchan_portable_id" text NOT NULL,
"xchan_guid" text NOT NULL DEFAULT '',
"xchan_guid_sig" text NOT NULL DEFAULT '',
"xchan_pubkey" text NOT NULL DEFAULT '',
@@ -1300,7 +1299,6 @@ CREATE TABLE "xchan" (
"xchan_deleted" smallint NOT NULL DEFAULT '0',
PRIMARY KEY ("xchan_hash")
);
-create index "xchan_portable_id" on xchan ("xchan_portable_id");
create index "xchan_guid" on xchan ("xchan_guid");
create index "xchan_addr" on xchan ("xchan_addr");
create index "xchan_name" on xchan ("xchan_name");