1
0
Fork 0
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:
Joshua Spence 2014-02-26 12:44:58 -08:00 committed by epriestley
parent 361e49dd67
commit 6270114767
268 changed files with 108 additions and 389 deletions

View file

@ -3,4 +3,3 @@
return array( return array(
) + phabricator_read_config_file('default'); ) + phabricator_read_config_file('default');

View file

@ -1,4 +1,3 @@
create table {$NAMESPACE}_project.project ( create table {$NAMESPACE}_project.project (
id int unsigned not null auto_increment primary key, id int unsigned not null auto_increment primary key,
name varchar(255) not null, name varchar(255) not null,
@ -28,4 +27,3 @@ create table {$NAMESPACE}_project.project_affiliation (
dateCreated int unsigned not null, dateCreated int unsigned not null,
dateModified int unsigned not null dateModified int unsigned not null
); );

View file

@ -1,9 +1,3 @@
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;

View file

@ -15,4 +15,4 @@ insert into {$NAMESPACE}_user.user_oauthinfo
FROM {$NAMESPACE}_user.user FROM {$NAMESPACE}_user.user
WHERE facebookUID is not null; WHERE facebookUID is not null;
alter table {$NAMESPACE}_user.user drop facebookUID; alter table {$NAMESPACE}_user.user drop facebookUID;

View file

@ -25,4 +25,4 @@ create table {$NAMESPACE}_timeline.timeline_eventdata (
create table {$NAMESPACE}_timeline.timeline_cursor ( create table {$NAMESPACE}_timeline.timeline_cursor (
name varchar(255) not null primary key, name varchar(255) not null primary key,
position int unsigned not null position int unsigned not null
); );

View file

@ -1,5 +1,3 @@
create table {$NAMESPACE}_worker.worker_task ( create table {$NAMESPACE}_worker.worker_task (
id int unsigned not null auto_increment primary key, id int unsigned not null auto_increment primary key,
taskClass varchar(255) not null, taskClass varchar(255) not null,

View file

@ -1,5 +1,3 @@
create table {$NAMESPACE}_daemon.daemon_log ( create table {$NAMESPACE}_daemon.daemon_log (
id int unsigned not null auto_increment primary key, id int unsigned not null auto_increment primary key,
daemon varchar(255) not null, daemon varchar(255) not null,

View file

@ -4,4 +4,4 @@ CREATE TABLE {$NAMESPACE}_repository.`repository_summary` (
`lastCommitID` int(10) unsigned NOT NULL, `lastCommitID` int(10) unsigned NOT NULL,
`epoch` int(10) unsigned DEFAULT NULL, `epoch` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`repositoryID`) PRIMARY KEY (`repositoryID`)
); );

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_herald.herald_action ( CREATE TABLE {$NAMESPACE}_herald.herald_action (
id int unsigned not null auto_increment primary key, id int unsigned not null auto_increment primary key,
ruleID int unsigned not null, ruleID int unsigned not null,

View file

@ -1,4 +1,4 @@
CREATE TABLE {$NAMESPACE}_repository.repository_badcommit ( CREATE TABLE {$NAMESPACE}_repository.repository_badcommit (
fullCommitName varchar(255) binary not null primary key, fullCommitName varchar(255) binary not null primary key,
description longblob not null description longblob not null
); );

View file

@ -1 +1 @@
/* This database was later removed entirely. */ /* This database was later removed entirely. */

View file

@ -1 +1 @@
ALTER TABLE {$NAMESPACE}_user.user ADD key (realName); ALTER TABLE {$NAMESPACE}_user.user ADD key (realName);

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_owners.owners_package ( CREATE TABLE {$NAMESPACE}_owners.owners_package (
id int unsigned not null auto_increment primary key, id int unsigned not null auto_increment primary key,
phid varchar(64) binary not null, phid varchar(64) binary not null,

View file

@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_differential.differential_diff ALTER TABLE {$NAMESPACE}_differential.differential_diff
CHANGE sourceControlpath sourceControlPath varchar(255); CHANGE sourceControlpath sourceControlPath varchar(255);

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_xhpastview.xhpastview_parsetree ( CREATE TABLE {$NAMESPACE}_xhpastview.xhpastview_parsetree (
id int unsigned not null auto_increment primary key, id int unsigned not null auto_increment primary key,
authorPHID varchar(64) binary, authorPHID varchar(64) binary,

View file

@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_metamta.metamta_mailinglist
ALTER TABLE {$NAMESPACE}_metamta.metamta_mailinglist ALTER TABLE {$NAMESPACE}_metamta.metamta_mailinglist
ADD UNIQUE KEY (name); ADD UNIQUE KEY (name);

View file

@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_differential.differential_inlinecomment ALTER TABLE {$NAMESPACE}_differential.differential_inlinecomment
ADD KEY (revisionID, authorPHID); ADD KEY (revisionID, authorPHID);

View file

@ -1,3 +1,2 @@
ALTER TABLE {$NAMESPACE}_differential.differential_diffproperty ALTER TABLE {$NAMESPACE}_differential.differential_diffproperty
ADD UNIQUE KEY (diffID, name); ADD UNIQUE KEY (diffID, name);

View file

@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_user.user ALTER TABLE {$NAMESPACE}_user.user
ADD isSystemAgent bool not null default 0; ADD isSystemAgent bool not null default 0;

View file

@ -1,4 +1,4 @@
CREATE TABLE {$NAMESPACE}_herald.herald_savedheader ( CREATE TABLE {$NAMESPACE}_herald.herald_savedheader (
phid varchar(64) binary not null primary key, phid varchar(64) binary not null primary key,
header varchar(255) not null header varchar(255) not null
) ENGINE=InnoDB; ) ENGINE=InnoDB;

View file

@ -16,4 +16,4 @@ CREATE TABLE {$NAMESPACE}_metamta.metamta_receivedmail (
message longblob, message longblob,
dateCreated int unsigned not null, dateCreated int unsigned not null,
dateModified int unsigned not null dateModified int unsigned not null
) engine=innodb; ) engine=innodb;

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_pastebin.pastebin_paste ( CREATE TABLE {$NAMESPACE}_pastebin.pastebin_paste (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(255) NOT NULL, title VARCHAR(255) NOT NULL,

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_countdown.countdown_timer ( CREATE TABLE {$NAMESPACE}_countdown.countdown_timer (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(255) NOT NULL, title VARCHAR(255) NOT NULL,

View file

@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_project.project ALTER TABLE {$NAMESPACE}_project.project
ADD status varchar(32) not null; ADD status varchar(32) not null;

View file

@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_project.project_affiliation ALTER TABLE {$NAMESPACE}_project.project_affiliation
ADD isOwner bool NOT NULL; ADD isOwner bool NOT NULL;

View file

@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_pastebin.pastebin_paste ALTER TABLE {$NAMESPACE}_pastebin.pastebin_paste
ADD COLUMN language VARCHAR(64) NOT NULL; ADD COLUMN language VARCHAR(64) NOT NULL;

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_feed.feed_storydata ( CREATE TABLE {$NAMESPACE}_feed.feed_storydata (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
phid VARCHAR(64) BINARY NOT NULL, phid VARCHAR(64) BINARY NOT NULL,

View file

@ -1,3 +1,3 @@
ALTER TABLE {$NAMESPACE}_file.file ALTER TABLE {$NAMESPACE}_file.file
ADD COLUMN authorPHID VARCHAR(64) BINARY, ADD COLUMN authorPHID VARCHAR(64) BINARY,
ADD KEY (authorPHID); ADD KEY (authorPHID);

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_slowvote.slowvote_poll ( CREATE TABLE {$NAMESPACE}_slowvote.slowvote_poll (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
question VARCHAR(255) NOT NULL, question VARCHAR(255) NOT NULL,
@ -41,4 +39,4 @@ CREATE TABLE {$NAMESPACE}_slowvote.slowvote_choice (
KEY (authorPHID), KEY (authorPHID),
dateCreated INT UNSIGNED NOT NULL, dateCreated INT UNSIGNED NOT NULL,
dateModified INT UNSIGNED NOT NULL dateModified INT UNSIGNED NOT NULL
); );

View file

@ -4,4 +4,4 @@ ALTER TABLE {$NAMESPACE}_differential.differential_changeset_parse_cache
ADD dateCreated INT UNSIGNED NOT NULL; ADD dateCreated INT UNSIGNED NOT NULL;
ALTER TABLE {$NAMESPACE}_differential.differential_changeset_parse_cache ALTER TABLE {$NAMESPACE}_differential.differential_changeset_parse_cache
ADD KEY (dateCreated); ADD KEY (dateCreated);

View file

@ -8,4 +8,4 @@ ALTER TABLE {$NAMESPACE}_herald.herald_condition
ADD KEY (ruleID); ADD KEY (ruleID);
ALTER TABLE {$NAMESPACE}_herald.herald_action ALTER TABLE {$NAMESPACE}_herald.herald_action
ADD KEY (ruleID); ADD KEY (ruleID);

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_phriction.phriction_document ( CREATE TABLE {$NAMESPACE}_phriction.phriction_document (
id INT UNSIGNED NOT NULL, id INT UNSIGNED NOT NULL,
phid VARCHAR(64) BINARY NOT NULL, phid VARCHAR(64) BINARY NOT NULL,

View file

@ -19,4 +19,4 @@ CREATE TABLE {$NAMESPACE}_phriction.phriction_content (
content LONGBLOB NOT NULL, content LONGBLOB NOT NULL,
dateCreated INT UNSIGNED NOT NULL, dateCreated INT UNSIGNED NOT NULL,
dateModified INT UNSIGNED NOT NULL dateModified INT UNSIGNED NOT NULL
) ENGINE=InnoDB; ) ENGINE=InnoDB;

View file

@ -1,3 +1,3 @@
/* Older versions incorrectly computed the depth for the root page. */ /* Older versions incorrectly computed the depth for the root page. */
UPDATE {$NAMESPACE}_phriction.phriction_document UPDATE {$NAMESPACE}_phriction.phriction_document
SET depth = 0 where slug = '/'; SET depth = 0 where slug = '/';

View file

@ -1,3 +1,3 @@
ALTER TABLE {$NAMESPACE}_pastebin.pastebin_paste ALTER TABLE {$NAMESPACE}_pastebin.pastebin_paste
ADD COLUMN parentPHID VARCHAR(64) BINARY, ADD COLUMN parentPHID VARCHAR(64) BINARY,
ADD KEY (parentPHID); ADD KEY (parentPHID);

View file

@ -8,4 +8,4 @@ CREATE TABLE {$NAMESPACE}_project.project_subproject (
subprojectPHID varchar(64) BINARY NOT NULL, subprojectPHID varchar(64) BINARY NOT NULL,
PRIMARY KEY (subprojectPHID, projectPHID), PRIMARY KEY (subprojectPHID, projectPHID),
UNIQUE KEY (projectPHID, subprojectPHID) UNIQUE KEY (projectPHID, subprojectPHID)
) ENGINE=InnoDB; ) ENGINE=InnoDB;

View file

@ -9,4 +9,4 @@ CREATE TABLE {$NAMESPACE}_user.user_sshkey (
keyComment varchar(255), keyComment varchar(255),
dateCreated INT UNSIGNED NOT NULL, dateCreated INT UNSIGNED NOT NULL,
dateModified INT UNSIGNED NOT NULL dateModified INT UNSIGNED NOT NULL
) ENGINE=InnoDB; ) ENGINE=InnoDB;

View file

@ -1 +1 @@
/* This used to be a "directory" update. */; /* This used to be a "directory" update. */;

View file

@ -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, (id int unsigned not null auto_increment primary key,
taskPHID varchar(64) binary not null, taskPHID varchar(64) binary not null,
name varchar(255) not null, name varchar(255) not null,
value varchar(255) not null, value varchar(255) not null,
unique key (taskPHID,name), unique key (taskPHID,name),
dateCreated int unsigned not null, dateCreated int unsigned not null,
dateModified int unsigned not null) dateModified int unsigned not null)
ENGINE = InnoDB; ENGINE = InnoDB;

View file

@ -1,4 +1,4 @@
ALTER TABLE {$NAMESPACE}_repository.repository_arcanistproject ALTER TABLE {$NAMESPACE}_repository.repository_arcanistproject
ADD symbolIndexLanguages LONGBLOB NOT NULL; ADD symbolIndexLanguages LONGBLOB NOT NULL;
ALTER TABLE {$NAMESPACE}_repository.repository_arcanistproject ALTER TABLE {$NAMESPACE}_repository.repository_arcanistproject
ADD symbolIndexProjects LONGBLOB NOT NULL; ADD symbolIndexProjects LONGBLOB NOT NULL;

View file

@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_file.file ALTER TABLE {$NAMESPACE}_file.file
ADD secretKey VARCHAR(20) BINARY; ADD secretKey VARCHAR(20) BINARY;

View file

@ -1 +1 @@
ALTER TABLE {$NAMESPACE}_project.project_affiliation DROP status; ALTER TABLE {$NAMESPACE}_project.project_affiliation DROP status;

View file

@ -5,4 +5,4 @@ ALTER TABLE {$NAMESPACE}_phriction.phriction_content
ADD changeType INT UNSIGNED NOT NULL DEFAULT 0; ADD changeType INT UNSIGNED NOT NULL DEFAULT 0;
ALTER TABLE {$NAMESPACE}_phriction.phriction_content ALTER TABLE {$NAMESPACE}_phriction.phriction_content
ADD changeRef INT UNSIGNED DEFAULT NULL; ADD changeRef INT UNSIGNED DEFAULT NULL;

View file

@ -1,5 +1,3 @@
ALTER TABLE {$NAMESPACE}_owners.owners_packagecommitrelationship ALTER TABLE {$NAMESPACE}_owners.owners_packagecommitrelationship
ADD COLUMN `auditStatus` varchar(64) NOT NULL, ADD COLUMN `auditStatus` varchar(64) NOT NULL,
ADD COLUMN `auditReasons` longtext NOT NULL, ADD COLUMN `auditReasons` longtext NOT NULL,

View file

@ -1 +1 @@
DROP TABLE {$NAMESPACE}_repository.repository_githubnotification; DROP TABLE {$NAMESPACE}_repository.repository_githubnotification;

View file

@ -1 +1 @@
/* This used to be a "directory" update. */; /* This used to be a "directory" update. */;

View file

@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_herald.herald_rule ADD ruleType varchar(255) not null DEFAULT 'global'; 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);

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_drydock.drydock_resource ( CREATE TABLE {$NAMESPACE}_drydock.drydock_resource (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
phid VARCHAR(64) BINARY NOT NULL, phid VARCHAR(64) BINARY NOT NULL,

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_chatlog.chatlog_event ( CREATE TABLE {$NAMESPACE}_chatlog.chatlog_event (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
channel VARCHAR(64) BINARY NOT NULL, channel VARCHAR(64) BINARY NOT NULL,

View file

@ -1,5 +1,3 @@
CREATE TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverclient` ( CREATE TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverclient` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`phid` varchar(64) BINARY NOT NULL, `phid` varchar(64) BINARY NOT NULL,
@ -48,4 +46,3 @@ CREATE TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserveraccesstoken` (
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `token` (`token`) UNIQUE KEY `token` (`token`)
) ENGINE=InnoDB; ) ENGINE=InnoDB;

View file

@ -3,4 +3,3 @@ ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthclientauthorization`
ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserveraccesstoken` ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserveraccesstoken`
DROP `dateExpires`; DROP `dateExpires`;

View file

@ -1,3 +1,2 @@
ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverclient` ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverclient`
ADD KEY `creatorPHID` (`creatorPHID`) ADD KEY `creatorPHID` (`creatorPHID`)

View file

@ -8,4 +8,4 @@ ALTER TABLE {$NAMESPACE}_repository.repository_commit
ADD auditStatus INT UNSIGNED NOT NULL; ADD auditStatus INT UNSIGNED NOT NULL;
ALTER TABLE {$NAMESPACE}_repository.repository_commit ALTER TABLE {$NAMESPACE}_repository.repository_commit
ADD KEY (authorPHID, auditStatus, epoch); ADD KEY (authorPHID, auditStatus, epoch);

View file

@ -1,3 +1,2 @@
ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverauthorizationcode` ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverauthorizationcode`
ADD `redirectURI` varchar(255) NOT NULL ADD `redirectURI` varchar(255) NOT NULL

View file

@ -1123,6 +1123,3 @@ ALTER TABLE `{$NAMESPACE}_xhpastview`.`xhpastview_parsetree`
MODIFY `authorPHID` varchar(64) COLLATE utf8_bin, MODIFY `authorPHID` varchar(64) COLLATE utf8_bin,
MODIFY `input` longtext COLLATE utf8_bin NOT NULL, MODIFY `input` longtext COLLATE utf8_bin NOT NULL,
MODIFY `stdout` longtext COLLATE utf8_bin NOT NULL; MODIFY `stdout` longtext COLLATE utf8_bin NOT NULL;

View file

@ -1,2 +1,2 @@
/* Do nothing, patch 121 got committed before there was a patch 120. */ /* Do nothing, patch 121 got committed before there was a patch 120. */
SELECT 1; SELECT 1;

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_flag.flag ( CREATE TABLE {$NAMESPACE}_flag.flag (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
ownerPHID varchar(64) COLLATE utf8_bin NOT NULL, ownerPHID varchar(64) COLLATE utf8_bin NOT NULL,
@ -13,4 +11,4 @@ CREATE TABLE {$NAMESPACE}_flag.flag (
UNIQUE KEY (ownerPHID, type, objectPHID), UNIQUE KEY (ownerPHID, type, objectPHID),
KEY (objectPHID) KEY (objectPHID)
) ENGINE=InnoDB; ) ENGINE=InnoDB;

View file

@ -7,5 +7,3 @@ ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
/* Seed the subpriority column with reasonable values that keep order stable. */ /* Seed the subpriority column with reasonable values that keep order stable. */
UPDATE {$NAMESPACE}_maniphest.maniphest_task UPDATE {$NAMESPACE}_maniphest.maniphest_task
SET subpriority = (UNIX_TIMESTAMP() - dateModified); SET subpriority = (UNIX_TIMESTAMP() - dateModified);

View file

@ -1 +1 @@
/* This used to be a "directory" update. */; /* This used to be a "directory" update. */;

View file

@ -1,5 +1,3 @@
CREATE TABLE `{$NAMESPACE}_phame`.`phame_post` ( CREATE TABLE `{$NAMESPACE}_phame`.`phame_post` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
`phid` VARCHAR(64) BINARY NOT NULL COLLATE utf8_bin, `phid` VARCHAR(64) BINARY NOT NULL COLLATE utf8_bin,

View file

@ -48,4 +48,3 @@ CREATE TABLE {$NAMESPACE}_pholio.pholio_transaction_comment (
UNIQUE KEY `key_draft` (authorPHID, mockID, transactionPHID) UNIQUE KEY `key_draft` (authorPHID, mockID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci; ) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_conpherence.conpherence_thread ( CREATE TABLE {$NAMESPACE}_conpherence.conpherence_thread (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
phid VARCHAR(64) NOT NULL COLLATE utf8_bin, 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) UNIQUE KEY `key_draft` (authorPHID, conpherencePHID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci; ) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -1,3 +1,2 @@
ALTER TABLE `{$NAMESPACE}_herald`.`herald_transcript` ALTER TABLE `{$NAMESPACE}_herald`.`herald_transcript`
DROP `psth`; DROP `psth`;

View file

@ -1,6 +1,6 @@
ALTER TABLE {$NAMESPACE}_conpherence.conpherence_thread ALTER TABLE {$NAMESPACE}_conpherence.conpherence_thread
DROP imagePHID, DROP imagePHID,
ADD imagePHIDs LONGTEXT COLLATE utf8_bin NOT NULL AFTER title; ADD imagePHIDs LONGTEXT COLLATE utf8_bin NOT NULL AFTER title;
UPDATE {$NAMESPACE}_conpherence.conpherence_thread UPDATE {$NAMESPACE}_conpherence.conpherence_thread
SET imagePHIDs = '{}' WHERE imagePHIDs = ''; SET imagePHIDs = '{}' WHERE imagePHIDs = '';

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_chatlog.chatlog_channel ( CREATE TABLE {$NAMESPACE}_chatlog.chatlog_channel (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
serviceName VARCHAR(64) COLLATE utf8_bin NOT NULL, serviceName VARCHAR(64) COLLATE utf8_bin NOT NULL,

View file

@ -1,3 +1,3 @@
ALTER TABLE {$NAMESPACE}_file.file ALTER TABLE {$NAMESPACE}_file.file
ADD ttl INT(10) UNSIGNED DEFAULT NULL, ADD ttl INT(10) UNSIGNED DEFAULT NULL,
ADD KEY key_ttl (ttl); ADD KEY key_ttl (ttl);

View file

@ -13,4 +13,3 @@ CREATE TABLE {$NAMESPACE}_phriction.edgedata (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
data LONGTEXT NOT NULL COLLATE utf8_bin data LONGTEXT NOT NULL COLLATE utf8_bin
) ENGINE=InnoDB, COLLATE utf8_general_ci; ) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -29,4 +29,3 @@ CREATE TABLE {$NAMESPACE}_phlux.phlux_transaction (
UNIQUE KEY `key_phid` (phid), UNIQUE KEY `key_phid` (phid),
KEY `key_object` (objectPHID) KEY `key_object` (objectPHID)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -43,4 +43,3 @@ CREATE TABLE {$NAMESPACE}_phortune.edgedata (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
data LONGTEXT NOT NULL COLLATE utf8_bin data LONGTEXT NOT NULL COLLATE utf8_bin
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_user.externalaccount ( CREATE TABLE {$NAMESPACE}_user.externalaccount (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
phid VARCHAR(64) COLLATE utf8_bin NOT NULL UNIQUE KEY, phid VARCHAR(64) COLLATE utf8_bin NOT NULL UNIQUE KEY,

View file

@ -34,5 +34,3 @@ CREATE TABLE {$NAMESPACE}_diviner.diviner_liveatom (
atomData LONGTEXT NOT NULL COLLATE utf8_bin, atomData LONGTEXT NOT NULL COLLATE utf8_bin,
UNIQUE KEY (symbolPHID) UNIQUE KEY (symbolPHID)
) ENGINE=InnoDB, DEFAULT CHARSET = utf8; ) ENGINE=InnoDB, DEFAULT CHARSET = utf8;

View file

@ -19,5 +19,3 @@ CREATE TABLE {$NAMESPACE}_user.user_transaction (
KEY `key_object` (objectPHID) KEY `key_object` (objectPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci; ) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -48,4 +48,3 @@ CREATE TABLE {$NAMESPACE}_differential.differential_transaction_comment (
UNIQUE KEY `key_draft` (authorPHID, revisionPHID, transactionPHID) UNIQUE KEY `key_draft` (authorPHID, revisionPHID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci; ) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -32,4 +32,3 @@ CREATE TABLE {$NAMESPACE}_doorkeeper.edgedata (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
data LONGTEXT NOT NULL COLLATE utf8_bin data LONGTEXT NOT NULL COLLATE utf8_bin
) ENGINE=InnoDB, COLLATE utf8_general_ci; ) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -101,4 +101,3 @@ CREATE TABLE {$NAMESPACE}_legalpad.legalpad_transaction_comment (
UNIQUE KEY `key_draft` (authorPHID, documentID, transactionPHID) UNIQUE KEY `key_draft` (authorPHID, documentID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci; ) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_worker.worker_activetask
ALTER TABLE {$NAMESPACE}_worker.worker_activetask ALTER TABLE {$NAMESPACE}_worker.worker_activetask
ADD KEY `key_failuretime` (`failureTime`); ADD KEY `key_failuretime` (`failureTime`);

View file

@ -79,4 +79,3 @@ CREATE TABLE {$NAMESPACE}_ponder.ponder_answertransaction_comment (
UNIQUE KEY `key_version` (transactionPHID, commentVersion) UNIQUE KEY `key_version` (transactionPHID, commentVersion)
) ENGINE=InnoDB, COLLATE utf8_general_ci; ) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -39,4 +39,3 @@ CREATE TABLE {$NAMESPACE}_file.file_transaction_comment (
UNIQUE KEY `key_draft` (authorPHID, transactionPHID) UNIQUE KEY `key_draft` (authorPHID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci; ) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -12,4 +12,3 @@ ALTER TABLE {$NAMESPACE}_differential.differential_transaction_comment
ALTER TABLE {$NAMESPACE}_differential.differential_transaction_comment ALTER TABLE {$NAMESPACE}_differential.differential_transaction_comment
ADD KEY `key_legacy` (legacyCommentID); ADD KEY `key_legacy` (legacyCommentID);

View file

@ -7,4 +7,3 @@ CREATE TABLE {$NAMESPACE}_repository.repository_statusmessage (
epoch INT UNSIGNED NOT NULL, epoch INT UNSIGNED NOT NULL,
UNIQUE KEY (repositoryID, statusType) UNIQUE KEY (repositoryID, statusType)
) ENGINE=InnoDB, CHARSET utf8; ) ENGINE=InnoDB, CHARSET utf8;

View file

@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_buildable
ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_buildable ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_buildable
ADD KEY `key_manual` (isManualBuildable); ADD KEY `key_manual` (isManualBuildable);

View file

@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_herald.herald_rule
ALTER TABLE {$NAMESPACE}_herald.herald_rule ALTER TABLE {$NAMESPACE}_herald.herald_rule
ADD KEY `key_trigger` (triggerObjectPHID); ADD KEY `key_trigger` (triggerObjectPHID);

View file

@ -1,3 +1,2 @@
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_taskauxiliarystorage ALTER TABLE {$NAMESPACE}_maniphest.maniphest_taskauxiliarystorage
MODIFY value LONGTEXT COLLATE utf8_bin; MODIFY value LONGTEXT COLLATE utf8_bin;

View file

@ -1 +1 @@
ALTER TABLE {$NAMESPACE}_user.user DROP email; ALTER TABLE {$NAMESPACE}_user.user DROP email;

View file

@ -28,4 +28,3 @@ CREATE TABLE {$NAMESPACE}_phame.edgedata (
ALTER TABLE {$NAMESPACE}_phame.phame_post ALTER TABLE {$NAMESPACE}_phame.phame_post
ADD KEY `instancePosts` (`visibility`, `datePublished`, `id`); ADD KEY `instancePosts` (`visibility`, `datePublished`, `id`);

View file

@ -1,4 +1,4 @@
ALTER TABLE `{$NAMESPACE}_phame`.`phame_blog` 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`, AFTER `description`,
ADD UNIQUE KEY (`domain`); ADD UNIQUE KEY (`domain`);

View file

@ -15,4 +15,3 @@ ALTER TABLE `{$NAMESPACE}_phame`.`phame_blog`
UPDATE `{$NAMESPACE}_phame`.`phame_blog` SET joinPolicy = 'users' UPDATE `{$NAMESPACE}_phame`.`phame_blog` SET joinPolicy = 'users'
WHERE joinPolicy IS NULL; WHERE joinPolicy IS NULL;

View file

@ -1 +1 @@
DROP DATABASE IF EXISTS {$NAMESPACE}_phid; DROP DATABASE IF EXISTS {$NAMESPACE}_phid;

View file

@ -8,4 +8,4 @@ CREATE TABLE `{$NAMESPACE}_ponder`.`ponder_comment` (
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY `authorPHID` (`authorPHID`), KEY `authorPHID` (`authorPHID`),
KEY `targetPHID` (`targetPHID`) KEY `targetPHID` (`targetPHID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -47,4 +47,4 @@ CREATE TABLE `{$NAMESPACE}_ponder`.`edgedata` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`data` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `data` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -49,4 +49,3 @@ if (!$ok) {
$revision->delete(); $revision->delete();
echo "OK, destroyed revision.\n"; echo "OK, destroyed revision.\n";

View file

@ -92,5 +92,3 @@ try {
throw $e; throw $e;
} }

View file

@ -19,4 +19,3 @@ $workflows = id(new PhutilSymbolLoader())
->loadObjects(); ->loadObjects();
$workflows[] = new PhutilHelpArgumentWorkflow(); $workflows[] = new PhutilHelpArgumentWorkflow();
$args->parseWorkflows($workflows); $args->parseWorkflows($workflows);

View file

@ -3,4 +3,3 @@
echo "This script is obsolete. Use `bin/repository` to manage repositories.\n"; echo "This script is obsolete. Use `bin/repository` to manage repositories.\n";
exit(1); exit(1);

View file

@ -13,4 +13,3 @@ foreach ($tasks as $task) {
echo '.'; echo '.';
} }
echo "\nDone.\n"; echo "\nDone.\n";

View file

@ -135,4 +135,3 @@ final class DarkConsoleCore {
} }
} }

View file

@ -293,4 +293,3 @@ final class DarkConsoleServicesPlugin extends DarkConsolePlugin {
return phutil_implode_html("\n", $results); return phutil_implode_html("\n", $results);
} }
} }

View file

@ -76,4 +76,3 @@ final class DarkConsoleErrorLogPluginAPI {
} }
} }

View file

@ -28,4 +28,3 @@ final class DarkConsoleEventPluginAPI extends PhabricatorEventListener {
} }
} }

View file

@ -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