[ticket/12956] Ensure the contact columns have been added before using them

PHPBB3-12956
This commit is contained in:
Joas Schilling 2014-08-10 02:23:28 +02:00
parent 5c93735557
commit 2c7e81bd33
5 changed files with 10 additions and 5 deletions

View file

@ -18,8 +18,9 @@ class profilefield_facebook extends \phpbb\db\migration\profilefield_base_migrat
static public function depends_on() static public function depends_on()
{ {
return array( return array(
'\phpbb\db\migration\data\v310\profilefield_types', '\phpbb\db\migration\data\v310\profilefield_contact_field',
'\phpbb\db\migration\data\v310\profilefield_show_novalue', '\phpbb\db\migration\data\v310\profilefield_show_novalue',
'\phpbb\db\migration\data\v310\profilefield_types',
); );
} }

View file

@ -18,8 +18,9 @@ class profilefield_googleplus extends \phpbb\db\migration\profilefield_base_migr
static public function depends_on() static public function depends_on()
{ {
return array( return array(
'\phpbb\db\migration\data\v310\profilefield_types', '\phpbb\db\migration\data\v310\profilefield_contact_field',
'\phpbb\db\migration\data\v310\profilefield_show_novalue', '\phpbb\db\migration\data\v310\profilefield_show_novalue',
'\phpbb\db\migration\data\v310\profilefield_types',
); );
} }

View file

@ -18,8 +18,9 @@ class profilefield_skype extends \phpbb\db\migration\profilefield_base_migration
static public function depends_on() static public function depends_on()
{ {
return array( return array(
'\phpbb\db\migration\data\v310\profilefield_types', '\phpbb\db\migration\data\v310\profilefield_contact_field',
'\phpbb\db\migration\data\v310\profilefield_show_novalue', '\phpbb\db\migration\data\v310\profilefield_show_novalue',
'\phpbb\db\migration\data\v310\profilefield_types',
); );
} }

View file

@ -18,8 +18,9 @@ class profilefield_twitter extends \phpbb\db\migration\profilefield_base_migrati
static public function depends_on() static public function depends_on()
{ {
return array( return array(
'\phpbb\db\migration\data\v310\profilefield_types', '\phpbb\db\migration\data\v310\profilefield_contact_field',
'\phpbb\db\migration\data\v310\profilefield_show_novalue', '\phpbb\db\migration\data\v310\profilefield_show_novalue',
'\phpbb\db\migration\data\v310\profilefield_types',
); );
} }

View file

@ -18,8 +18,9 @@ class profilefield_youtube extends \phpbb\db\migration\profilefield_base_migrati
static public function depends_on() static public function depends_on()
{ {
return array( return array(
'\phpbb\db\migration\data\v310\profilefield_types', '\phpbb\db\migration\data\v310\profilefield_contact_field',
'\phpbb\db\migration\data\v310\profilefield_show_novalue', '\phpbb\db\migration\data\v310\profilefield_show_novalue',
'\phpbb\db\migration\data\v310\profilefield_types',
); );
} }