Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose projection DBAL Schema #4991

Open
bwaidelich opened this issue Apr 12, 2024 · 0 comments
Open

Expose projection DBAL Schema #4991

bwaidelich opened this issue Apr 12, 2024 · 0 comments
Labels

Comments

@bwaidelich
Copy link
Member

Projections provide a setup() method that allows them to automatically create/update the storage schema.
If used standalone it would be useful to leave that to the application, e.g. in order to provide users with an interactive experience ("do you want to create the following tables...").

Therefore we could introduce some interface like:

use Doctrine\DBAL\Schema\Schema;

interface ProvidesDbalSchema {
    public function getSchema(): Schema;
}

and implement that in our DBAL-based projections.

Related: #4227

@bwaidelich bwaidelich added the 9.0 label Apr 12, 2024
@bwaidelich bwaidelich changed the title Expose projection DBAL Schema from Expose projection DBAL Schema Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant