From 2f220a07d15f56fa340ab95221d4c45f7f4e2c11 Mon Sep 17 00:00:00 2001
From: Marc Alexander <admin@m-a-styles.de>
Date: Sat, 19 Oct 2019 15:19:42 +0200
Subject: [PATCH] [prep-release-3.3.0-b1] Add migration for 3.3.0-b1

---
 phpBB/phpbb/db/migration/data/v330/v330b1.php | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 phpBB/phpbb/db/migration/data/v330/v330b1.php

diff --git a/phpBB/phpbb/db/migration/data/v330/v330b1.php b/phpBB/phpbb/db/migration/data/v330/v330b1.php
new file mode 100644
index 0000000000..ac4fec3d6e
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v330/v330b1.php
@@ -0,0 +1,40 @@
+<?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\v330;
+
+class v330b1 extends \phpbb\db\migration\migration
+{
+	public function effectively_installed()
+	{
+		return version_compare($this->config['version'], '3.3.0-b1', '>=');
+	}
+
+	static public function depends_on()
+	{
+		return array(
+			'\phpbb\db\migration\data\v330\reset_password',
+			'\phpbb\db\migration\data\v330\remove_attachment_flash',
+			'\phpbb\db\migration\data\v330\remove_max_pass_chars',
+			'\phpbb\db\migration\data\v32x\v328',
+			'\phpbb\db\migration\data\v330\dev',
+		);
+	}
+
+	public function update_data()
+	{
+		return array(
+			array('config.update', array('version', '3.3.0-b1')),
+		);
+	}
+}