From 3fe2491b737375e7c616c47366d5ab6f1c4fb851 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 8 Nov 2018 15:53:48 -0800 Subject: didn't need xchan_portable_id --- install/schema_mysql.sql | 2 -- install/schema_postgres.sql | 2 -- 2 files changed, 4 deletions(-) (limited to 'install') 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"); -- cgit v1.2.3