@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

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

authored by

Joshua Spence and committed by
joshuaspence
3a046384 4626fb4e

+1 -40
+1
resources/sql/autopatches/20150906.mailinglist.sql
··· 1 + DROP TABLE {$NAMESPACE}_metamta.metamta_mailinglist;
-40
src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php
··· 1 - <?php 2 - 3 - /** 4 - * TODO: This class is just here to keep `storage adjust` happy until we 5 - * destroy the table. 6 - */ 7 - final class PhabricatorMetaMTAMailingList extends PhabricatorMetaMTADAO { 8 - 9 - protected $name; 10 - protected $email; 11 - protected $uri; 12 - 13 - 14 - protected function getConfiguration() { 15 - return array( 16 - self::CONFIG_AUX_PHID => true, 17 - self::CONFIG_COLUMN_SCHEMA => array( 18 - 'name' => 'text128', 19 - 'email' => 'text128', 20 - 'uri' => 'text255?', 21 - ), 22 - self::CONFIG_KEY_SCHEMA => array( 23 - 'key_phid' => null, 24 - 'phid' => array( 25 - 'columns' => array('phid'), 26 - 'unique' => true, 27 - ), 28 - 'email' => array( 29 - 'columns' => array('email'), 30 - 'unique' => true, 31 - ), 32 - 'name' => array( 33 - 'columns' => array('name'), 34 - 'unique' => true, 35 - ), 36 - ), 37 - ) + parent::getConfiguration(); 38 - } 39 - 40 - }