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

Migration helper replaces table name with 0 when creating tables

XMLWordPrintable

      The recently merged PR for splitting up schema changes in the migrator removes the table name that should be created in its method get_schema_steps() and replaces it with the array pointer. This causes queries like this:

      CREATE TABLE 0 ( some_column ...

      This breaks any extension or migration that uses the add_column method and possibly others.

            nickvergessen Joas Schilling
            Marc Marc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: