Update docs for @DiscriminatorColumn to indicate that it is optional.
This commit is contained in:
parent
d97fad26a5
commit
6963fd8f20
@ -236,11 +236,14 @@ Example:
|
||||
@DiscriminatorColumn
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
This annotation is a required annotation for the topmost/super
|
||||
This annotation is an optional annotation for the topmost/super
|
||||
class of an inheritance hierarchy. It specifies the details of the
|
||||
column which saves the name of the class, which the entity is
|
||||
actually instantiated as.
|
||||
|
||||
If this annotation is not specified, the discriminator column defaults
|
||||
to a string column of length 255 called ``dtype``.
|
||||
|
||||
Required attributes:
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user