mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 20:10: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:
parent
4626fb4ef0
commit
3a046384e9
2 changed files with 1 additions and 40 deletions
1
resources/sql/autopatches/20150906.mailinglist.sql
Normal file
1
resources/sql/autopatches/20150906.mailinglist.sql
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DROP TABLE {$NAMESPACE}_metamta.metamta_mailinglist;
|
|
@ -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();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue