diff options
| author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-11-23 23:17:01 +0100 |
|---|---|---|
| committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-11-23 23:17:01 +0100 |
| commit | 3698e9b8e08e47edb79c074f50de2fb40a3fcfcf (patch) | |
| tree | 30b1d5063b2fb535d7f4a4f9166db746ecca9bc8 /phpBB/phpbb/db/migration/data/v320/dev.php | |
| parent | f283f5bd03776230df220ff0086d5d3fd3023bb8 (diff) | |
| parent | 67f43b1a067cbef93e9767f46211656f37a670dd (diff) | |
| download | forums-3698e9b8e08e47edb79c074f50de2fb40a3fcfcf.tar forums-3698e9b8e08e47edb79c074f50de2fb40a3fcfcf.tar.gz forums-3698e9b8e08e47edb79c074f50de2fb40a3fcfcf.tar.bz2 forums-3698e9b8e08e47edb79c074f50de2fb40a3fcfcf.tar.xz forums-3698e9b8e08e47edb79c074f50de2fb40a3fcfcf.zip | |
Merge branch 'prep-release-3.2.0-a1'
* prep-release-3.2.0-a1:
[prep-release-3.2.0-a1] Add changelog for 3.2.0-a1
[prep-release-3.2.0-a1] Add migration for 3.2.0-a1
[prep-release-3.2.0-a1] Update version to 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.php | 36 |
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')), + ); + } +} |
