From 3a046384e97e86e37a8a1f78b2db47c6950cbfcf Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Sat, 31 Oct 2015 11:20:59 +0000 Subject: [PATCH] Drop the `metamta_mailinglist` table Summary: We haven't seen any issues here, remove the table and schema spec. Test Plan: Not yet tested. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D14067 --- .../sql/autopatches/20150906.mailinglist.sql | 1 + .../storage/PhabricatorMetaMTAMailingList.php | 40 ------------------- 2 files changed, 1 insertion(+), 40 deletions(-) create mode 100644 resources/sql/autopatches/20150906.mailinglist.sql delete mode 100644 src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php diff --git a/resources/sql/autopatches/20150906.mailinglist.sql b/resources/sql/autopatches/20150906.mailinglist.sql new file mode 100644 index 0000000000..4f349eadd4 --- /dev/null +++ b/resources/sql/autopatches/20150906.mailinglist.sql @@ -0,0 +1 @@ +DROP TABLE {$NAMESPACE}_metamta.metamta_mailinglist; diff --git a/src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php b/src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php deleted file mode 100644 index 68d2499ed6..0000000000 --- a/src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php +++ /dev/null @@ -1,40 +0,0 @@ - true, - self::CONFIG_COLUMN_SCHEMA => array( - 'name' => 'text128', - 'email' => 'text128', - 'uri' => 'text255?', - ), - self::CONFIG_KEY_SCHEMA => array( - 'key_phid' => null, - 'phid' => array( - 'columns' => array('phid'), - 'unique' => true, - ), - 'email' => array( - 'columns' => array('email'), - 'unique' => true, - ), - 'name' => array( - 'columns' => array('name'), - 'unique' => true, - ), - ), - ) + parent::getConfiguration(); - } - -}