-
Notifications
You must be signed in to change notification settings - Fork 158
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
Extended section model #109
Comments
This is because currently we are defining models as entities instead of mapped superclasses. I will try to fix it soon. |
The problem should be fixed on 1.3.0-dev version. Upgrade your plugin, don't forget to read the UPGRADE.md guide and let me know if it works 🙂 |
Thank you. It seems to be working with superclass fix, but another error appear. When I'm trying to extend section translation and run doctrine migrations diff - |
Bring more PHPStan power to the skeleton!
Hi, I want to add some other info into Section model, so I've overridden your resource in my config to use my model with extending your BaseSection and added Section.orm.yml with custom field. But when I try to launch
doctrine:migrations:diff
it always throw error:The table with name 'shop.bitbag_section' already exists.
. I did it the same way as with the product model extensions and never seen this kind of error before. How do I find out where the problem is?Thank you!
...app/config/resources.yml
Model
...src/AppBundle/Resources/config/doctrine/Section.orm.yml
The text was updated successfully, but these errors were encountered: