aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/data/v320/dev.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-10-15 10:57:46 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-11-09 20:20:26 +0100
commit2144f35e9daf17d69f040082fd236c80bb71d04f (patch)
tree62e9224fffd9c1ade0baef4618a1f4e32ee23ad0 /phpBB/phpbb/db/migration/data/v320/dev.php
parentf8236cc907ea13a7100571ffa0cd83d877b78ccc (diff)
downloadforums-2144f35e9daf17d69f040082fd236c80bb71d04f.tar
forums-2144f35e9daf17d69f040082fd236c80bb71d04f.tar.gz
forums-2144f35e9daf17d69f040082fd236c80bb71d04f.tar.bz2
forums-2144f35e9daf17d69f040082fd236c80bb71d04f.tar.xz
forums-2144f35e9daf17d69f040082fd236c80bb71d04f.zip
[prep-release-3.2.0-a1] Add migration for 3.2.0-a1
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v320/dev.php')
-rw-r--r--phpBB/phpbb/db/migration/data/v320/dev.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v320/dev.php b/phpBB/phpbb/db/migration/data/v320/dev.php
new file mode 100644
index 0000000000..ad2da3c1f4
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v320/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\v320;
+
+class dev extends \phpbb\db\migration\container_aware_migration
+{
+ public function effectively_installed()
+ {
+ return version_compare($this->config['version'], '3.2.0-dev', '>=');
+ }
+
+ static public function depends_on()
+ {
+ return array(
+ '\phpbb\db\migration\data\v31x\v316',
+ );
+ }
+
+ public function update_data()
+ {
+ return array(
+ array('config.update', array('version', '3.2.0-dev')),
+ );
+ }
+}