Skip to content

Commit

Permalink
Various linter fixes.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joshuaspence authored and epriestley committed Feb 26, 2014
1 parent 361e49d commit 6270114
Show file tree
Hide file tree
Showing 268 changed files with 108 additions and 389 deletions.
1 change: 0 additions & 1 deletion conf/production.conf.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
return array( return array(


) + phabricator_read_config_file('default'); ) + phabricator_read_config_file('default');

2 changes: 0 additions & 2 deletions resources/sql/patches/000.project.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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
); );

6 changes: 0 additions & 6 deletions resources/sql/patches/0000.legacy.sql
Original file line number Original file line Diff line number Diff line change
@@ -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 */;
Expand Down
2 changes: 1 addition & 1 deletion resources/sql/patches/002.oauth.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/004.daemonrepos.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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
); );
2 changes: 0 additions & 2 deletions resources/sql/patches/005.workers.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 0 additions & 2 deletions resources/sql/patches/007.daemonlog.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion resources/sql/patches/009.repo_summary.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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`)
); );
2 changes: 0 additions & 2 deletions resources/sql/patches/010.herald.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion resources/sql/patches/011.badcommit.sql
Original file line number Original file line Diff line number Diff line change
@@ -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
); );
2 changes: 1 addition & 1 deletion resources/sql/patches/012.dropphidtype.sql
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
/* This database was later removed entirely. */ /* This database was later removed entirely. */
2 changes: 1 addition & 1 deletion resources/sql/patches/016.userrealnameindex.sql
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
ALTER TABLE {$NAMESPACE}_user.user ADD key (realName); ALTER TABLE {$NAMESPACE}_user.user ADD key (realName);
2 changes: 0 additions & 2 deletions resources/sql/patches/018.owners.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion resources/sql/patches/020.pathcapital.sql
Original file line number Original file line Diff line number Diff line change
@@ -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);
1 change: 0 additions & 1 deletion resources/sql/patches/021.xhpastview.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
1 change: 0 additions & 1 deletion resources/sql/patches/024.mlistkeys.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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);

2 changes: 1 addition & 1 deletion resources/sql/patches/025.commentopt.sql
Original file line number Original file line Diff line number Diff line change
@@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_differential.differential_inlinecomment ALTER TABLE {$NAMESPACE}_differential.differential_inlinecomment
ADD KEY (revisionID, authorPHID); ADD KEY (revisionID, authorPHID);
1 change: 0 additions & 1 deletion resources/sql/patches/026.diffpropkey.sql
Original file line number Original file line Diff line number Diff line change
@@ -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);

2 changes: 1 addition & 1 deletion resources/sql/patches/028.systemagent.sql
Original file line number Original file line Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/034.savedheader.sql
Original file line number Original file line Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/036.mailkey.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;
2 changes: 0 additions & 2 deletions resources/sql/patches/043.pastebin.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 0 additions & 2 deletions resources/sql/patches/044.countdown.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion resources/sql/patches/047.projectstatus.sql
Original file line number Original file line Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/049.projectowner.sql
Original file line number Original file line Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/052.pastelanguage.sql
Original file line number Original file line Diff line number Diff line change
@@ -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;
2 changes: 0 additions & 2 deletions resources/sql/patches/053.feed.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion resources/sql/patches/055.add_author_to_files.sql
Original file line number Original file line Diff line number Diff line change
@@ -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);
4 changes: 1 addition & 3 deletions resources/sql/patches/056.slowvote.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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
); );
2 changes: 1 addition & 1 deletion resources/sql/patches/057.parsecache.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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);
2 changes: 1 addition & 1 deletion resources/sql/patches/058.missingkeys.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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);
2 changes: 0 additions & 2 deletions resources/sql/patches/060.phriction.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion resources/sql/patches/061.phrictioncontent.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/062.phrictionmenu.sql
Original file line number Original file line Diff line number Diff line change
@@ -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 = '/';
2 changes: 1 addition & 1 deletion resources/sql/patches/063.pasteforks.sql
Original file line number Original file line Diff line number Diff line change
@@ -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);
2 changes: 1 addition & 1 deletion resources/sql/patches/064.subprojects.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/065.sshkeys.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/067.preferences.sql
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
/* This used to be a "directory" update. */; /* This used to be a "directory" update. */;
10 changes: 5 additions & 5 deletions resources/sql/patches/068.maniphestauxiliarystorage.sql
Original file line number Original file line Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/076.indexedlanguages.sql
Original file line number Original file line Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion resources/sql/patches/080.filekeys.sql
Original file line number Original file line Diff line number Diff line change
@@ -1,2 +1,2 @@
ALTER TABLE {$NAMESPACE}_file.file ALTER TABLE {$NAMESPACE}_file.file
ADD secretKey VARCHAR(20) BINARY; ADD secretKey VARCHAR(20) BINARY;
2 changes: 1 addition & 1 deletion resources/sql/patches/086.formeraffil.sql
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
ALTER TABLE {$NAMESPACE}_project.project_affiliation DROP status; ALTER TABLE {$NAMESPACE}_project.project_affiliation DROP status;
2 changes: 1 addition & 1 deletion resources/sql/patches/087.phrictiondelete.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;
2 changes: 0 additions & 2 deletions resources/sql/patches/088.audit.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion resources/sql/patches/092.dropgithubnotification.sql
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
DROP TABLE {$NAMESPACE}_repository.repository_githubnotification; DROP TABLE {$NAMESPACE}_repository.repository_githubnotification;
2 changes: 1 addition & 1 deletion resources/sql/patches/095.directory.sql
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
/* This used to be a "directory" update. */; /* This used to be a "directory" update. */;
2 changes: 1 addition & 1 deletion resources/sql/patches/097.heraldruletypes.sql
Original file line number Original file line Diff line number Diff line change
@@ -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);
2 changes: 0 additions & 2 deletions resources/sql/patches/099.drydock.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
1 change: 0 additions & 1 deletion resources/sql/patches/106.chatlog.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
3 changes: 0 additions & 3 deletions resources/sql/patches/107.oauthserver.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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;

1 change: 0 additions & 1 deletion resources/sql/patches/108.oauthscope.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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`;

1 change: 0 additions & 1 deletion resources/sql/patches/109.oauthclientphidkey.sql
Original file line number Original file line Diff line number Diff line change
@@ -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`)

2 changes: 1 addition & 1 deletion resources/sql/patches/110.commitaudit.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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);
1 change: 0 additions & 1 deletion resources/sql/patches/112.oauthaccesscoderedirecturi.sql
Original file line number Original file line Diff line number Diff line change
@@ -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

3 changes: 0 additions & 3 deletions resources/sql/patches/116.utf8-backup-first-expect-wait.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;



2 changes: 1 addition & 1 deletion resources/sql/patches/120.noop.sql
Original file line number Original file line Diff line number Diff line change
@@ -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;
4 changes: 1 addition & 3 deletions resources/sql/patches/122.flag.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand All @@ -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;
2 changes: 0 additions & 2 deletions resources/sql/patches/124.subpriority.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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);


2 changes: 1 addition & 1 deletion resources/sql/patches/128.phabricatorcom.sql
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
/* This used to be a "directory" update. */; /* This used to be a "directory" update. */;
2 changes: 0 additions & 2 deletions resources/sql/patches/132.phame.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down
1 change: 0 additions & 1 deletion resources/sql/patches/20121209.pholioxactions.sql
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;

2 changes: 0 additions & 2 deletions resources/sql/patches/20130111.conpherence.sql
Original file line number Original file line Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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;

1 change: 0 additions & 1 deletion resources/sql/patches/20130127.altheraldtranscript.sql
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,2 @@
ALTER TABLE `{$NAMESPACE}_herald`.`herald_transcript` ALTER TABLE `{$NAMESPACE}_herald`.`herald_transcript`
DROP `psth`; DROP `psth`;

Loading

0 comments on commit 6270114

Please sign in to comment.