1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Update docs for @DiscriminatorColumn to indicate that it is optional.

This commit is contained in:
Bill Schaller 2016-01-05 12:30:29 -05:00
parent d97fad26a5
commit 6963fd8f20

View File

@ -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: