mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-21 14:22:41 +01:00
Various linter fixes.
Summary: - Removed trailing newlines. - Added newline at EOF. - Removed leading newlines. - Trimmed trailing whitespace. - Spelling fix. - Added newline at EOF Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: hach-que, chad, Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D8344
This commit is contained in:
parent
361e49dd67
commit
6270114767
268 changed files with 108 additions and 389 deletions
|
@ -3,4 +3,3 @@
|
|||
return array(
|
||||
|
||||
) + phabricator_read_config_file('default');
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
create table {$NAMESPACE}_project.project (
|
||||
id int unsigned not null auto_increment primary key,
|
||||
name varchar(255) not null,
|
||||
|
@ -28,4 +27,3 @@ create table {$NAMESPACE}_project.project_affiliation (
|
|||
dateCreated int unsigned not null,
|
||||
dateModified int unsigned not null
|
||||
);
|
||||
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
|
|
|
@ -15,4 +15,4 @@ insert into {$NAMESPACE}_user.user_oauthinfo
|
|||
FROM {$NAMESPACE}_user.user
|
||||
WHERE facebookUID is not null;
|
||||
|
||||
alter table {$NAMESPACE}_user.user drop facebookUID;
|
||||
alter table {$NAMESPACE}_user.user drop facebookUID;
|
||||
|
|
|
@ -25,4 +25,4 @@ create table {$NAMESPACE}_timeline.timeline_eventdata (
|
|||
create table {$NAMESPACE}_timeline.timeline_cursor (
|
||||
name varchar(255) not null primary key,
|
||||
position int unsigned not null
|
||||
);
|
||||
);
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
create table {$NAMESPACE}_worker.worker_task (
|
||||
id int unsigned not null auto_increment primary key,
|
||||
taskClass varchar(255) not null,
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
create table {$NAMESPACE}_daemon.daemon_log (
|
||||
id int unsigned not null auto_increment primary key,
|
||||
daemon varchar(255) not null,
|
||||
|
|
|
@ -4,4 +4,4 @@ CREATE TABLE {$NAMESPACE}_repository.`repository_summary` (
|
|||
`lastCommitID` int(10) unsigned NOT NULL,
|
||||
`epoch` int(10) unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`repositoryID`)
|
||||
);
|
||||
);
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_herald.herald_action (
|
||||
id int unsigned not null auto_increment primary key,
|
||||
ruleID int unsigned not null,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
CREATE TABLE {$NAMESPACE}_repository.repository_badcommit (
|
||||
fullCommitName varchar(255) binary not null primary key,
|
||||
description longblob not null
|
||||
);
|
||||
);
|
||||
|
|
|
@ -1 +1 @@
|
|||
/* This database was later removed entirely. */
|
||||
/* This database was later removed entirely. */
|
||||
|
|
|
@ -1 +1 @@
|
|||
ALTER TABLE {$NAMESPACE}_user.user ADD key (realName);
|
||||
ALTER TABLE {$NAMESPACE}_user.user ADD key (realName);
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_owners.owners_package (
|
||||
id int unsigned not null auto_increment primary key,
|
||||
phid varchar(64) binary not null,
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_differential.differential_diff
|
||||
CHANGE sourceControlpath sourceControlPath varchar(255);
|
||||
CHANGE sourceControlpath sourceControlPath varchar(255);
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
CREATE TABLE {$NAMESPACE}_xhpastview.xhpastview_parsetree (
|
||||
id int unsigned not null auto_increment primary key,
|
||||
authorPHID varchar(64) binary,
|
||||
|
|
|
@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_metamta.metamta_mailinglist
|
|||
|
||||
ALTER TABLE {$NAMESPACE}_metamta.metamta_mailinglist
|
||||
ADD UNIQUE KEY (name);
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_differential.differential_inlinecomment
|
||||
ADD KEY (revisionID, authorPHID);
|
||||
ADD KEY (revisionID, authorPHID);
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_differential.differential_diffproperty
|
||||
ADD UNIQUE KEY (diffID, name);
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_user.user
|
||||
ADD isSystemAgent bool not null default 0;
|
||||
ADD isSystemAgent bool not null default 0;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
CREATE TABLE {$NAMESPACE}_herald.herald_savedheader (
|
||||
phid varchar(64) binary not null primary key,
|
||||
header varchar(255) not null
|
||||
) ENGINE=InnoDB;
|
||||
) ENGINE=InnoDB;
|
||||
|
|
|
@ -16,4 +16,4 @@ CREATE TABLE {$NAMESPACE}_metamta.metamta_receivedmail (
|
|||
message longblob,
|
||||
dateCreated int unsigned not null,
|
||||
dateModified int unsigned not null
|
||||
) engine=innodb;
|
||||
) engine=innodb;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_pastebin.pastebin_paste (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_countdown.countdown_timer (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_project.project
|
||||
ADD status varchar(32) not null;
|
||||
ADD status varchar(32) not null;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_project.project_affiliation
|
||||
ADD isOwner bool NOT NULL;
|
||||
ADD isOwner bool NOT NULL;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_pastebin.pastebin_paste
|
||||
ADD COLUMN language VARCHAR(64) NOT NULL;
|
||||
ADD COLUMN language VARCHAR(64) NOT NULL;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_feed.feed_storydata (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
phid VARCHAR(64) BINARY NOT NULL,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE {$NAMESPACE}_file.file
|
||||
ADD COLUMN authorPHID VARCHAR(64) BINARY,
|
||||
ADD KEY (authorPHID);
|
||||
ADD KEY (authorPHID);
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_slowvote.slowvote_poll (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
question VARCHAR(255) NOT NULL,
|
||||
|
@ -41,4 +39,4 @@ CREATE TABLE {$NAMESPACE}_slowvote.slowvote_choice (
|
|||
KEY (authorPHID),
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
dateModified INT UNSIGNED NOT NULL
|
||||
);
|
||||
);
|
||||
|
|
|
@ -4,4 +4,4 @@ ALTER TABLE {$NAMESPACE}_differential.differential_changeset_parse_cache
|
|||
ADD dateCreated INT UNSIGNED NOT NULL;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_differential.differential_changeset_parse_cache
|
||||
ADD KEY (dateCreated);
|
||||
ADD KEY (dateCreated);
|
||||
|
|
|
@ -8,4 +8,4 @@ ALTER TABLE {$NAMESPACE}_herald.herald_condition
|
|||
ADD KEY (ruleID);
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_herald.herald_action
|
||||
ADD KEY (ruleID);
|
||||
ADD KEY (ruleID);
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_phriction.phriction_document (
|
||||
id INT UNSIGNED NOT NULL,
|
||||
phid VARCHAR(64) BINARY NOT NULL,
|
||||
|
|
|
@ -19,4 +19,4 @@ CREATE TABLE {$NAMESPACE}_phriction.phriction_content (
|
|||
content LONGBLOB NOT NULL,
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
dateModified INT UNSIGNED NOT NULL
|
||||
) ENGINE=InnoDB;
|
||||
) ENGINE=InnoDB;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
/* Older versions incorrectly computed the depth for the root page. */
|
||||
UPDATE {$NAMESPACE}_phriction.phriction_document
|
||||
SET depth = 0 where slug = '/';
|
||||
SET depth = 0 where slug = '/';
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE {$NAMESPACE}_pastebin.pastebin_paste
|
||||
ADD COLUMN parentPHID VARCHAR(64) BINARY,
|
||||
ADD KEY (parentPHID);
|
||||
ADD KEY (parentPHID);
|
||||
|
|
|
@ -8,4 +8,4 @@ CREATE TABLE {$NAMESPACE}_project.project_subproject (
|
|||
subprojectPHID varchar(64) BINARY NOT NULL,
|
||||
PRIMARY KEY (subprojectPHID, projectPHID),
|
||||
UNIQUE KEY (projectPHID, subprojectPHID)
|
||||
) ENGINE=InnoDB;
|
||||
) ENGINE=InnoDB;
|
||||
|
|
|
@ -9,4 +9,4 @@ CREATE TABLE {$NAMESPACE}_user.user_sshkey (
|
|||
keyComment varchar(255),
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
dateModified INT UNSIGNED NOT NULL
|
||||
) ENGINE=InnoDB;
|
||||
) ENGINE=InnoDB;
|
||||
|
|
|
@ -1 +1 @@
|
|||
/* This used to be a "directory" update. */;
|
||||
/* This used to be a "directory" update. */;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
create table {$NAMESPACE}_maniphest.maniphest_taskauxiliarystorage
|
||||
create table {$NAMESPACE}_maniphest.maniphest_taskauxiliarystorage
|
||||
(id int unsigned not null auto_increment primary key,
|
||||
taskPHID varchar(64) binary not null,
|
||||
name varchar(255) not null,
|
||||
value varchar(255) not null,
|
||||
taskPHID varchar(64) binary not null,
|
||||
name varchar(255) not null,
|
||||
value varchar(255) not null,
|
||||
unique key (taskPHID,name),
|
||||
dateCreated int unsigned not null,
|
||||
dateModified int unsigned not null)
|
||||
ENGINE = InnoDB;
|
||||
ENGINE = InnoDB;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ALTER TABLE {$NAMESPACE}_repository.repository_arcanistproject
|
||||
ADD symbolIndexLanguages LONGBLOB NOT NULL;
|
||||
ALTER TABLE {$NAMESPACE}_repository.repository_arcanistproject
|
||||
ADD symbolIndexProjects LONGBLOB NOT NULL;
|
||||
ADD symbolIndexProjects LONGBLOB NOT NULL;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_file.file
|
||||
ADD secretKey VARCHAR(20) BINARY;
|
||||
ADD secretKey VARCHAR(20) BINARY;
|
||||
|
|
|
@ -1 +1 @@
|
|||
ALTER TABLE {$NAMESPACE}_project.project_affiliation DROP status;
|
||||
ALTER TABLE {$NAMESPACE}_project.project_affiliation DROP status;
|
||||
|
|
|
@ -5,4 +5,4 @@ ALTER TABLE {$NAMESPACE}_phriction.phriction_content
|
|||
ADD changeType INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phriction.phriction_content
|
||||
ADD changeRef INT UNSIGNED DEFAULT NULL;
|
||||
ADD changeRef INT UNSIGNED DEFAULT NULL;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_owners.owners_packagecommitrelationship
|
||||
ADD COLUMN `auditStatus` varchar(64) NOT NULL,
|
||||
ADD COLUMN `auditReasons` longtext NOT NULL,
|
||||
|
|
|
@ -1 +1 @@
|
|||
DROP TABLE {$NAMESPACE}_repository.repository_githubnotification;
|
||||
DROP TABLE {$NAMESPACE}_repository.repository_githubnotification;
|
||||
|
|
|
@ -1 +1 @@
|
|||
/* This used to be a "directory" update. */;
|
||||
/* This used to be a "directory" update. */;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_herald.herald_rule ADD ruleType varchar(255) not null DEFAULT 'global';
|
||||
CREATE INDEX IDX_RULE_TYPE on {$NAMESPACE}_herald.herald_rule (ruleType);
|
||||
CREATE INDEX IDX_RULE_TYPE on {$NAMESPACE}_herald.herald_rule (ruleType);
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_drydock.drydock_resource (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
phid VARCHAR(64) BINARY NOT NULL,
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
CREATE TABLE {$NAMESPACE}_chatlog.chatlog_event (
|
||||
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
channel VARCHAR(64) BINARY NOT NULL,
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverclient` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`phid` varchar(64) BINARY NOT NULL,
|
||||
|
@ -48,4 +46,3 @@ CREATE TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserveraccesstoken` (
|
|||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `token` (`token`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthclientauthorization`
|
|||
|
||||
ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserveraccesstoken`
|
||||
DROP `dateExpires`;
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverclient`
|
||||
ADD KEY `creatorPHID` (`creatorPHID`)
|
||||
|
||||
|
|
|
@ -8,4 +8,4 @@ ALTER TABLE {$NAMESPACE}_repository.repository_commit
|
|||
ADD auditStatus INT UNSIGNED NOT NULL;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_repository.repository_commit
|
||||
ADD KEY (authorPHID, auditStatus, epoch);
|
||||
ADD KEY (authorPHID, auditStatus, epoch);
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverauthorizationcode`
|
||||
ADD `redirectURI` varchar(255) NOT NULL
|
||||
|
||||
|
|
|
@ -1123,6 +1123,3 @@ ALTER TABLE `{$NAMESPACE}_xhpastview`.`xhpastview_parsetree`
|
|||
MODIFY `authorPHID` varchar(64) COLLATE utf8_bin,
|
||||
MODIFY `input` longtext COLLATE utf8_bin NOT NULL,
|
||||
MODIFY `stdout` longtext COLLATE utf8_bin NOT NULL;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
/* Do nothing, patch 121 got committed before there was a patch 120. */
|
||||
SELECT 1;
|
||||
SELECT 1;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_flag.flag (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
ownerPHID varchar(64) COLLATE utf8_bin NOT NULL,
|
||||
|
@ -13,4 +11,4 @@ CREATE TABLE {$NAMESPACE}_flag.flag (
|
|||
|
||||
UNIQUE KEY (ownerPHID, type, objectPHID),
|
||||
KEY (objectPHID)
|
||||
) ENGINE=InnoDB;
|
||||
) ENGINE=InnoDB;
|
||||
|
|
|
@ -7,5 +7,3 @@ ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
|
|||
/* Seed the subpriority column with reasonable values that keep order stable. */
|
||||
UPDATE {$NAMESPACE}_maniphest.maniphest_task
|
||||
SET subpriority = (UNIX_TIMESTAMP() - dateModified);
|
||||
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
/* This used to be a "directory" update. */;
|
||||
/* This used to be a "directory" update. */;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
CREATE TABLE `{$NAMESPACE}_phame`.`phame_post` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`phid` VARCHAR(64) BINARY NOT NULL COLLATE utf8_bin,
|
||||
|
|
|
@ -48,4 +48,3 @@ CREATE TABLE {$NAMESPACE}_pholio.pholio_transaction_comment (
|
|||
UNIQUE KEY `key_draft` (authorPHID, mockID, transactionPHID)
|
||||
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
CREATE TABLE {$NAMESPACE}_conpherence.conpherence_thread (
|
||||
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
phid VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||||
|
@ -80,4 +79,3 @@ CREATE TABLE {$NAMESPACE}_conpherence.conpherence_transaction_comment (
|
|||
UNIQUE KEY `key_draft` (authorPHID, conpherencePHID, transactionPHID)
|
||||
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
ALTER TABLE `{$NAMESPACE}_herald`.`herald_transcript`
|
||||
DROP `psth`;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
ALTER TABLE {$NAMESPACE}_conpherence.conpherence_thread
|
||||
ALTER TABLE {$NAMESPACE}_conpherence.conpherence_thread
|
||||
DROP imagePHID,
|
||||
ADD imagePHIDs LONGTEXT COLLATE utf8_bin NOT NULL AFTER title;
|
||||
|
||||
UPDATE {$NAMESPACE}_conpherence.conpherence_thread
|
||||
UPDATE {$NAMESPACE}_conpherence.conpherence_thread
|
||||
SET imagePHIDs = '{}' WHERE imagePHIDs = '';
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
CREATE TABLE {$NAMESPACE}_chatlog.chatlog_channel (
|
||||
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
serviceName VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE {$NAMESPACE}_file.file
|
||||
ADD ttl INT(10) UNSIGNED DEFAULT NULL,
|
||||
ALTER TABLE {$NAMESPACE}_file.file
|
||||
ADD ttl INT(10) UNSIGNED DEFAULT NULL,
|
||||
ADD KEY key_ttl (ttl);
|
||||
|
|
|
@ -13,4 +13,3 @@ CREATE TABLE {$NAMESPACE}_phriction.edgedata (
|
|||
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
data LONGTEXT NOT NULL COLLATE utf8_bin
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
|
||||
|
|
|
@ -29,4 +29,3 @@ CREATE TABLE {$NAMESPACE}_phlux.phlux_transaction (
|
|||
UNIQUE KEY `key_phid` (phid),
|
||||
KEY `key_object` (objectPHID)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
|
|
@ -43,4 +43,3 @@ CREATE TABLE {$NAMESPACE}_phortune.edgedata (
|
|||
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
data LONGTEXT NOT NULL COLLATE utf8_bin
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
CREATE TABLE {$NAMESPACE}_user.externalaccount (
|
||||
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
phid VARCHAR(64) COLLATE utf8_bin NOT NULL UNIQUE KEY,
|
||||
|
|
|
@ -34,5 +34,3 @@ CREATE TABLE {$NAMESPACE}_diviner.diviner_liveatom (
|
|||
atomData LONGTEXT NOT NULL COLLATE utf8_bin,
|
||||
UNIQUE KEY (symbolPHID)
|
||||
) ENGINE=InnoDB, DEFAULT CHARSET = utf8;
|
||||
|
||||
|
||||
|
|
|
@ -19,5 +19,3 @@ CREATE TABLE {$NAMESPACE}_user.user_transaction (
|
|||
KEY `key_object` (objectPHID)
|
||||
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
|
||||
|
||||
|
|
|
@ -48,4 +48,3 @@ CREATE TABLE {$NAMESPACE}_differential.differential_transaction_comment (
|
|||
UNIQUE KEY `key_draft` (authorPHID, revisionPHID, transactionPHID)
|
||||
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
|
||||
|
|
|
@ -32,4 +32,3 @@ CREATE TABLE {$NAMESPACE}_doorkeeper.edgedata (
|
|||
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
data LONGTEXT NOT NULL COLLATE utf8_bin
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
|
||||
|
|
|
@ -101,4 +101,3 @@ CREATE TABLE {$NAMESPACE}_legalpad.legalpad_transaction_comment (
|
|||
UNIQUE KEY `key_draft` (authorPHID, documentID, transactionPHID)
|
||||
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_worker.worker_activetask
|
|||
|
||||
ALTER TABLE {$NAMESPACE}_worker.worker_activetask
|
||||
ADD KEY `key_failuretime` (`failureTime`);
|
||||
|
||||
|
|
|
@ -79,4 +79,3 @@ CREATE TABLE {$NAMESPACE}_ponder.ponder_answertransaction_comment (
|
|||
UNIQUE KEY `key_version` (transactionPHID, commentVersion)
|
||||
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
|
||||
|
|
|
@ -39,4 +39,3 @@ CREATE TABLE {$NAMESPACE}_file.file_transaction_comment (
|
|||
UNIQUE KEY `key_draft` (authorPHID, transactionPHID)
|
||||
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
|
||||
|
|
|
@ -12,4 +12,3 @@ ALTER TABLE {$NAMESPACE}_differential.differential_transaction_comment
|
|||
|
||||
ALTER TABLE {$NAMESPACE}_differential.differential_transaction_comment
|
||||
ADD KEY `key_legacy` (legacyCommentID);
|
||||
|
||||
|
|
|
@ -7,4 +7,3 @@ CREATE TABLE {$NAMESPACE}_repository.repository_statusmessage (
|
|||
epoch INT UNSIGNED NOT NULL,
|
||||
UNIQUE KEY (repositoryID, statusType)
|
||||
) ENGINE=InnoDB, CHARSET utf8;
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_buildable
|
|||
|
||||
ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_buildable
|
||||
ADD KEY `key_manual` (isManualBuildable);
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_herald.herald_rule
|
|||
|
||||
ALTER TABLE {$NAMESPACE}_herald.herald_rule
|
||||
ADD KEY `key_trigger` (triggerObjectPHID);
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_taskauxiliarystorage
|
||||
MODIFY value LONGTEXT COLLATE utf8_bin;
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
ALTER TABLE {$NAMESPACE}_user.user DROP email;
|
||||
ALTER TABLE {$NAMESPACE}_user.user DROP email;
|
||||
|
|
|
@ -28,4 +28,3 @@ CREATE TABLE {$NAMESPACE}_phame.edgedata (
|
|||
|
||||
ALTER TABLE {$NAMESPACE}_phame.phame_post
|
||||
ADD KEY `instancePosts` (`visibility`, `datePublished`, `id`);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ALTER TABLE `{$NAMESPACE}_phame`.`phame_blog`
|
||||
ADD COLUMN `domain` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin
|
||||
ADD COLUMN `domain` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin
|
||||
AFTER `description`,
|
||||
ADD UNIQUE KEY (`domain`);
|
||||
|
|
|
@ -15,4 +15,3 @@ ALTER TABLE `{$NAMESPACE}_phame`.`phame_blog`
|
|||
|
||||
UPDATE `{$NAMESPACE}_phame`.`phame_blog` SET joinPolicy = 'users'
|
||||
WHERE joinPolicy IS NULL;
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
DROP DATABASE IF EXISTS {$NAMESPACE}_phid;
|
||||
DROP DATABASE IF EXISTS {$NAMESPACE}_phid;
|
||||
|
|
|
@ -8,4 +8,4 @@ CREATE TABLE `{$NAMESPACE}_ponder`.`ponder_comment` (
|
|||
PRIMARY KEY (`id`),
|
||||
KEY `authorPHID` (`authorPHID`),
|
||||
KEY `targetPHID` (`targetPHID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
|
|
@ -47,4 +47,4 @@ CREATE TABLE `{$NAMESPACE}_ponder`.`edgedata` (
|
|||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`data` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
|
|
@ -49,4 +49,3 @@ if (!$ok) {
|
|||
|
||||
$revision->delete();
|
||||
echo "OK, destroyed revision.\n";
|
||||
|
||||
|
|
|
@ -92,5 +92,3 @@ try {
|
|||
|
||||
throw $e;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -19,4 +19,3 @@ $workflows = id(new PhutilSymbolLoader())
|
|||
->loadObjects();
|
||||
$workflows[] = new PhutilHelpArgumentWorkflow();
|
||||
$args->parseWorkflows($workflows);
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
|
||||
echo "This script is obsolete. Use `bin/repository` to manage repositories.\n";
|
||||
exit(1);
|
||||
|
||||
|
|
|
@ -13,4 +13,3 @@ foreach ($tasks as $task) {
|
|||
echo '.';
|
||||
}
|
||||
echo "\nDone.\n";
|
||||
|
||||
|
|
|
@ -135,4 +135,3 @@ final class DarkConsoleCore {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -293,4 +293,3 @@ final class DarkConsoleServicesPlugin extends DarkConsolePlugin {
|
|||
return phutil_implode_html("\n", $results);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -76,4 +76,3 @@ final class DarkConsoleErrorLogPluginAPI {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -28,4 +28,3 @@ final class DarkConsoleEventPluginAPI extends PhabricatorEventListener {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -78,4 +78,3 @@ final class PhabricatorApplicationAudit extends PhabricatorApplication {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue