1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-07 17:33:32 +02:00

[ticket/16284] Add migration for 4.0.0-dev

PHPBB3-16284
This commit is contained in:
Marc Alexander 2020-01-01 11:21:39 +01:00
parent eac646cf72
commit d15d75e2ba
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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']],
];
}
}