Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15337361
D13736.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
D13736.diff
View Options
diff --git a/resources/sql/autopatches/20150727.heraldaction.1.sql b/resources/sql/autopatches/20150727.heraldaction.1.sql
new file mode 100644
--- /dev/null
+++ b/resources/sql/autopatches/20150727.heraldaction.1.sql
@@ -0,0 +1,2 @@
+RENAME TABLE {$NAMESPACE}_herald.herald_actionrecord
+ TO {$NAMESPACE}_herald.herald_action;
diff --git a/src/applications/herald/storage/HeraldActionRecord.php b/src/applications/herald/storage/HeraldActionRecord.php
--- a/src/applications/herald/storage/HeraldActionRecord.php
+++ b/src/applications/herald/storage/HeraldActionRecord.php
@@ -7,6 +7,14 @@
protected $action;
protected $target;
+ public function getTableName() {
+ // TODO: This class was renamed, but we have a migration which affects the
+ // table prior to to the rename. For now, having cruft here is cleaner than
+ // having it in the migration. We could rename this table again and no-op
+ // the migration after some time. See T8958.
+ return 'herald_action';
+ }
+
protected function getConfiguration() {
return array(
self::CONFIG_SERIALIZATION => array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 10, 5:29 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7387699
Default Alt Text
D13736.diff (1 KB)
Attached To
Mode
D13736: Put the HeraldActionRecord table back on the shelf
Attached
Detach File
Event Timeline
Log In to Comment