forked from phacility/phabricator
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/stable' into easypost-patches
- Loading branch information
Showing
120 changed files
with
5,140 additions
and
779 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CREATE TABLE {$NAMESPACE}_project.project_trigger ( | ||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, | ||
phid VARBINARY(64) NOT NULL, | ||
name VARCHAR(255) NOT NULL COLLATE {$COLLATE_TEXT}, | ||
editPolicy VARBINARY(64) NOT NULL, | ||
ruleset LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT}, | ||
dateCreated INT UNSIGNED NOT NULL, | ||
dateModified INT UNSIGNED NOT NULL | ||
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT}; |
19 changes: 19 additions & 0 deletions
19
resources/sql/autopatches/20190312.triggers.02.xaction.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
CREATE TABLE {$NAMESPACE}_project.project_triggertransaction ( | ||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, | ||
phid VARBINARY(64) NOT NULL, | ||
authorPHID VARBINARY(64) NOT NULL, | ||
objectPHID VARBINARY(64) NOT NULL, | ||
viewPolicy VARBINARY(64) NOT NULL, | ||
editPolicy VARBINARY(64) NOT NULL, | ||
commentPHID VARBINARY(64) DEFAULT NULL, | ||
commentVersion INT UNSIGNED NOT NULL, | ||
transactionType VARCHAR(32) NOT NULL, | ||
oldValue LONGTEXT NOT NULL, | ||
newValue LONGTEXT NOT NULL, | ||
contentSource LONGTEXT NOT NULL, | ||
metadata LONGTEXT NOT NULL, | ||
dateCreated INT UNSIGNED NOT NULL, | ||
dateModified INT UNSIGNED NOT NULL, | ||
UNIQUE KEY `key_phid` (`phid`), | ||
KEY `key_object` (`objectPHID`) | ||
) ENGINE=InnoDB DEFAULT CHARSET={$CHARSET} COLLATE {$COLLATE_TEXT}; |
2 changes: 2 additions & 0 deletions
2
resources/sql/autopatches/20190312.triggers.03.triggerphid.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE {$NAMESPACE}_project.project_column | ||
ADD triggerPHID VARBINARY(64); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE TABLE {$NAMESPACE}_project.project_triggerusage ( | ||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, | ||
triggerPHID VARBINARY(64) NOT NULL, | ||
examplePHID VARBINARY(64), | ||
columnCount INT UNSIGNED NOT NULL, | ||
activeColumnCount INT UNSIGNED NOT NULL, | ||
UNIQUE KEY `key_trigger` (triggerPHID) | ||
) ENGINE=InnoDB DEFAULT CHARSET={$CHARSET} COLLATE {$COLLATE_TEXT}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.