mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/15594] Adjust depends_on and add effectively_installed check
PHPBB3-15594
This commit is contained in:
parent
269f9251a2
commit
e56088f921
1 changed files with 6 additions and 1 deletions
|
@ -15,10 +15,15 @@ namespace phpbb\db\migration\data\v400;
|
||||||
|
|
||||||
class remove_profilefield_aol extends \phpbb\db\migration\migration
|
class remove_profilefield_aol extends \phpbb\db\migration\migration
|
||||||
{
|
{
|
||||||
|
public function effectively_installed()
|
||||||
|
{
|
||||||
|
return !$this->db_tools->sql_column_exists($this->table_prefix . 'profile_fields_data', 'pf_phpbb_aol');
|
||||||
|
}
|
||||||
|
|
||||||
static public function depends_on()
|
static public function depends_on()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'\phpbb\db\migration\data\v400\v400',
|
'\phpbb\db\migration\data\v33x\v331',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue