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
[1.11] schema_filter configuration no longer works #971
Comments
Could you please let me know what version of There's also a test to make sure the filter is registered correctly when the compiler pass is registered, so I'm not quite sure where the issue is coming from:
|
Hello @alcaeus, we have the following doctrine packages installed:
|
Hmm, that’s odd. Any chance you could debug this to see what’s going on? I currently don’t have a bundle setup. |
Can you give us some tips where to look? I've no idea where the schema_filter is supposed to be used. |
You should see a |
|
Ok I checked back on the 1.10 version and the schema filter is never called there for the views we want to ignore either. Which means schema filter was not the thing that made them ignored. Something else must be broken. |
Hmm no it is the schema filter after all. When I remove the views from the schema filter the tables are generated by the next migration. However it's not this line that causes it. Which means the schema filter must be used somewhere else as well in the older version but the usage got removed in 1.11. |
I think I identified the problem. See the PR in doctrine/migrations. |
Closing as this was an issue in doctrine/migrations. |
We have some Doctrine entities which are read only because they are mapped to views instead of regular tables. To prevent the tables from being generated by doctrine migrations we're using a configuration like this:
After updating to DoctrineBundle 1.11.1 this no longer works and doctrine/migrations is trying to generate normal tables for these entities.
The text was updated successfully, but these errors were encountered: