aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2020-01-01 11:21:39 +0100
committerMarc Alexander <admin@m-a-styles.de>2020-01-01 11:21:39 +0100
commitd15d75e2ba790b83f6cf7b8ac3a5851fcc2afc8a (patch)
tree3a7bfd561623e9f7d41762a463c4cd12b43e8647
parent[ticket/16284] Move migrations not included in 3.3 to v400 (diff)
downloadphpbb-d15d75e2ba790b83f6cf7b8ac3a5851fcc2afc8a.tar.gz
phpbb-d15d75e2ba790b83f6cf7b8ac3a5851fcc2afc8a.tar.bz2
phpbb-d15d75e2ba790b83f6cf7b8ac3a5851fcc2afc8a.zip
[ticket/16284] Add migration for 4.0.0-dev
PHPBB3-16284
-rw-r--r--phpBB/phpbb/db/migration/data/v400/dev.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v400/dev.php b/phpBB/phpbb/db/migration/data/v400/dev.php
new file mode 100644
index 0000000000..b47525384a
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v400/dev.php
@@ -0,0 +1,36 @@
+<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited <https://www.phpbb.com>
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
+*
+*/
+
+namespace phpbb\db\migration\data\v400;
+
+use phpbb\db\migration\migration;
+
+class dev extends migration
+{
+ public function effectively_installed()
+ {
+ return version_compare($this->config['version'], '4.0.0-dev', '>=');
+ }
+
+ static public function depends_on()
+ {
+ return ['\phpbb\db\migration\data\v330\v330rc1'];
+ }
+
+ public function update_data()
+ {
+ return [
+ ['config.update', ['version', '4.0.0-dev']],
+ ];
+ }
+}