Problem/Motivation

The Drupal\dbxschema_mysql\Database\Schema class extends Drupal core's MySql schema class, but this currently results in a fatal error due to a wrong namespace used:

use Drupal\mysql\Database\Driver\mysql\Schema as MySchema;

Core's class uses this namespace: Drupal\mysql\Driver\Database\mysql (see different positions of Database and Driver).

Steps to reproduce

  • Check use statement for core's MySql schema class in Drupal\dbxschema_mysql\Database/Schema class file and compare to core's MySql schema class namespace

Proposed resolution

  • Fix use statement to use correct namespace

Remaining tasks

  • Create issue fork and MR to fix this issue

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Issue fork dbxschema-3522246

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hctom created an issue. See original summary.

hctom’s picture

Status: Active » Needs review

Please see issue fork and MR for the change to fix this error.

guignonv’s picture

Status: Needs review » Fixed

Thanks! :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.