-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
M2M does not work with multi-model inheritance #1435
Comments
For some reason the Mainly I changed how I've managed to solve my problem with multi-table inheritance and polymorphic by changing the HistoricalRecords class as this:
and my Through model is defined like this:
|
Describe the bug
M2M does not work if inheriting more than once the base class
To Reproduce
Steps to reproduce the behavior:
Error:
Expected behavior
The object should be saved successfully.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: