Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13962194
D17798.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17798.diff
View Options
diff --git a/resources/sql/autopatches/20170427.owners.01.long.sql b/resources/sql/autopatches/20170427.owners.01.long.sql
new file mode 100644
--- /dev/null
+++ b/resources/sql/autopatches/20170427.owners.01.long.sql
@@ -0,0 +1,2 @@
+ALTER TABLE {$NAMESPACE}_owners.owners_package
+ DROP originalName;
diff --git a/src/applications/owners/storage/PhabricatorOwnersPackage.php b/src/applications/owners/storage/PhabricatorOwnersPackage.php
--- a/src/applications/owners/storage/PhabricatorOwnersPackage.php
+++ b/src/applications/owners/storage/PhabricatorOwnersPackage.php
@@ -12,7 +12,6 @@
PhabricatorNgramsInterface {
protected $name;
- protected $originalName;
protected $auditingEnabled;
protected $autoReview;
protected $description;
@@ -105,8 +104,7 @@
self::CONFIG_TIMESTAMPS => false,
self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array(
- 'name' => 'sort128',
- 'originalName' => 'text255',
+ 'name' => 'sort',
'description' => 'text',
'primaryOwnerPHID' => 'phid?',
'auditingEnabled' => 'bool',
@@ -137,9 +135,6 @@
public function setName($name) {
$this->name = $name;
- if (!$this->getID()) {
- $this->originalName = $name;
- }
return $this;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 16 2024, 8:43 AM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716790
Default Alt Text
D17798.diff (1 KB)
Attached To
Mode
D17798: Allow Owners packages to have arbitrarily long names
Attached
Detach File
Event Timeline
Log In to Comment