didn't need xchan_portable_id

This commit is contained in:
zotlabs 2018-11-08 15:53:48 -08:00
parent 4e6758e31d
commit 3fe2491b73
2 changed files with 0 additions and 4 deletions

View File

@ -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`),

View File

@ -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");