1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/14754] Rename email notifications table to fit better

PHPBB3-14754
This commit is contained in:
Marc Alexander
2020-03-15 15:08:25 +01:00
parent c61946329c
commit 9f4a240f91
7 changed files with 18 additions and 18 deletions

View File

@@ -13,7 +13,7 @@
namespace phpbb\db\migration\data\v33x;
class add_email_notifications_table extends \phpbb\db\migration\migration
class add_notification_emails_table extends \phpbb\db\migration\migration
{
static public function depends_on()
{
@@ -26,7 +26,7 @@ class add_email_notifications_table extends \phpbb\db\migration\migration
{
return [
'add_tables' => [
$this->table_prefix . 'email_notifications' => [
$this->table_prefix . 'notification_emails' => [
'COLUMNS' => [
'notification_type_id' => ['USINT', 0],
'item_id' => ['ULINT', 0],
@@ -42,7 +42,7 @@ class add_email_notifications_table extends \phpbb\db\migration\migration
public function revert_schema()
{
return [
'drop_tables' => [$this->table_prefix . 'email_notifications'],
'drop_tables' => [$this->table_prefix . 'notification_emails'],
];
}
}