Answer the question
In order to leave comments, you need to log in
How to correctly inherit a class if it itself works according to the single table inheritance scheme?
The project implements the sti
Car
|- SportCar
|- HeavyCar pattern.
I need a new class that inherits, for example, SportCar, and creates a new attribute for itself .. but when a new class is called, instantiate always returns the SportCar class
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question