1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00

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
This commit is contained in:
Joshua Spence 2015-10-31 11:20:59 +00:00 committed by joshuaspence
parent 4626fb4ef0
commit 3a046384e9
2 changed files with 1 additions and 40 deletions

View file

@ -0,0 +1 @@
DROP TABLE {$NAMESPACE}_metamta.metamta_mailinglist;

View file

@ -1,40 +0,0 @@
<?php
/**
* TODO: This class is just here to keep `storage adjust` happy until we
* destroy the table.
*/
final class PhabricatorMetaMTAMailingList extends PhabricatorMetaMTADAO {
protected $name;
protected $email;
protected $uri;
protected function getConfiguration() {
return array(
self::CONFIG_AUX_PHID => 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();
}
}