aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/data/v310
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-03-14 23:35:07 +0100
committerMarc Alexander <admin@m-a-styles.de>2014-03-29 22:14:58 +0100
commitd83d819827634931e9317469090e933edfc99f2b (patch)
tree90030f15f6a85ee426fe3717c80d1f692fc5b8e4 /phpBB/phpbb/db/migration/data/v310
parent5866f08919f2d48ab9c1b62caf20836f66cdd21f (diff)
downloadforums-d83d819827634931e9317469090e933edfc99f2b.tar
forums-d83d819827634931e9317469090e933edfc99f2b.tar.gz
forums-d83d819827634931e9317469090e933edfc99f2b.tar.bz2
forums-d83d819827634931e9317469090e933edfc99f2b.tar.xz
forums-d83d819827634931e9317469090e933edfc99f2b.zip
[ticket/12150] Use shorter column names for prune settings
All columns were renamed from having prune_shadow_topics as namebase to just prune_shadow. A missing column was also added to the migration file's remove_schema() method. PHPBB3-12150
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v310')
-rw-r--r--phpBB/phpbb/db/migration/data/v310/prune_shadow_topics.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/prune_shadow_topics.php b/phpBB/phpbb/db/migration/data/v310/prune_shadow_topics.php
index 0cf9981c14..1e7cfb5acb 100644
--- a/phpBB/phpbb/db/migration/data/v310/prune_shadow_topics.php
+++ b/phpBB/phpbb/db/migration/data/v310/prune_shadow_topics.php
@@ -21,10 +21,10 @@ class prune_shadow_topics extends \phpbb\db\migration\migration
return array(
'add_columns' => array(
$this->table_prefix . 'forums' => array(
- 'enable_shadow_topic_prune' => array('BOOL', 0, 'after' => 'prune_freq'),
- 'prune_shadow_topic_days' => array('UINT', 7, 'after' => 'enable_shadow_topic_prune'),
- 'prune_shadow_topic_freq' => array('UINT', 1, 'after' => 'prune_shadow_topic_freq'),
- 'prune_shadow_topic_next' => array('INT:11', 0, 'after' => 'prune_shadow_topic_freq'),
+ 'enable_shadow_prune' => array('BOOL', 0, 'after' => 'prune_freq'),
+ 'prune_shadow_days' => array('UINT', 7, 'after' => 'enable_shadow_prune'),
+ 'prune_shadow_freq' => array('UINT', 1, 'after' => 'prune_shadow_freq'),
+ 'prune_shadow_next' => array('INT:11', 0, 'after' => 'prune_shadow_freq'),
),
),
);
@@ -35,9 +35,10 @@ class prune_shadow_topics extends \phpbb\db\migration\migration
return array(
'drop_columns' => array(
$this->table_prefix . 'forums' => array(
- 'enable_shadow_topic_prune',
- 'prune_shadow_topic_days',
- 'prune_shadow_topic_freq',
+ 'enable_shadow_prune',
+ 'prune_shadow_days',
+ 'prune_shadow_freq',
+ 'prune_shadow_next',
),
),
);