Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13700

Column 'field_show_on_pm' not created before migration profilefield_interests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.5-RC1
    • 3.3.3
    • Update system
    • PHP Version 7.3.27-MariaDB 10.3

      I got the same error as here, when updating from phpBB 3.0.12 to 3.1.3:
      https://www.phpbb.com/community/viewtopic.php?f=466&t=2268501

      The column 'field_show_on_pm' was not created in time. This should have been done by the \phpbb\db\migration\data\v310\dev file, but apparently that one wasn't run before \phpbb\db\migration\data\v310\profilefield_interests was run (profilefield_interests causes the error).

      Following the dependendies of profilefield_interests, it seems this migration is ultimately dependent on \phpbb\db\migration\data\v310\alpha2. However, the required creation of the field_show_on_pm-field is done in the \phpbb\db\migration\data\v310\dev file.

      This makes me come to the conclusion that either alpha2 or alpha1 should be dependent on dev?

      EDIT: The here proposed solution apparently isn't a solution, see https://github.com/phpbb/phpbb/pull/3812#issuecomment-128111525

            Marc Marc
            marcovo marcovo [X] (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: