aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/install/schemas/schema.json36
-rw-r--r--phpBB/phpbb/db/migration/data/v310/prune_shadow_topics.php8
2 files changed, 20 insertions, 24 deletions
diff --git a/phpBB/install/schemas/schema.json b/phpBB/install/schemas/schema.json
index 3d819e19b9..176691f1a6 100644
--- a/phpBB/install/schemas/schema.json
+++ b/phpBB/install/schemas/schema.json
@@ -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
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 1e7cfb5acb..d625b1fe6e 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_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),
),
),
);