Skip to content

Create an easy way to extend the schema manager #5812

Closed
@derrabus

Description

@derrabus

Feature Request

Q A
New Feature yes
RFC no

Summary

In #5784, the event system of the DBAL has been deprecated. One of the current use-cases is to modify the SQL emitted by the schema manager after a schema comparison. Instead, developers should extend the schema manager directly now. However, it is not really easy to do that at the moment because it involves overriding the driver as well.

My idea would be to allow a developer to pass a callable to DriverManager that constructs a schema manager instance and thus overrides the schema manager created by the driver/platform.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions