1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

[ticket/12150] Remove 'after' for columns from migrations file

PHPBB3-12150
This commit is contained in:
Marc Alexander 2014-04-03 11:07:58 +02:00
parent 1812d3ce99
commit 808c5277a9
2 changed files with 20 additions and 24 deletions

View File

@ -800,26 +800,22 @@
"UINT:20",
0
],
"enable_shadow_prune": {
"0": "BOOL",
"1": 0,
"after": "prune_freq"
},
"prune_shadow_days": {
"0": "UINT",
"1": 7,
"after": "enable_shadow_prune"
},
"prune_shadow_freq": {
"0": "UINT",
"1": 1,
"after": "prune_shadow_freq"
},
"prune_shadow_next": {
"0": "INT:11",
"1": 0,
"after": "prune_shadow_freq"
},
"enable_shadow_prune": [
"BOOL",
0
],
"prune_shadow_days": [
"UINT",
7
],
"prune_shadow_freq": [
"UINT",
1
],
"prune_shadow_next": [
"INT:11",
0
],
"forum_posts_approved": [
"UINT",
0

View File

@ -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_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'),
'enable_shadow_prune' => array('BOOL', 0),
'prune_shadow_days' => array('UINT', 7),
'prune_shadow_freq' => array('UINT', 1),
'prune_shadow_next' => array('INT:11', 0),
),
),
);