Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12448

Migration tools don't allow adding columns with default == NULL

    Details

      Description

      Many MODS interact with custom profile fields. When upgrading from a mod to an extension, these extensions will want to manipulate the profile field data.

      The sql_prepare_column_data function, accessible to the migration tools, currently doesn't allow for column data that assigns the default value of a column to NULL. This is necessary because the save_profile_field in includes\acp\acp_profile.php does allow for this (and uses it by default).

      In other words: it is currently impossible to insert/manipulate profile fields data to the same degree as in acp_profile.php, because the perform_schema_changes cannot be used to create columns the correct way (with default == NULL).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nickvergessen Joas Schilling
                Reporter:
                PayBas PayBas [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: