diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2014-03-14 23:35:07 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2014-03-29 22:14:58 +0100 |
| commit | d83d819827634931e9317469090e933edfc99f2b (patch) | |
| tree | 90030f15f6a85ee426fe3717c80d1f692fc5b8e4 /phpBB/phpbb/db | |
| parent | 5866f08919f2d48ab9c1b62caf20836f66cdd21f (diff) | |
| download | forums-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')
| -rw-r--r-- | phpBB/phpbb/db/migration/data/v310/prune_shadow_topics.php | 15 |
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', ), ), ); |
