textEnum<T extends Enum> method
Creates a column to store an enum
class T
.
In the database, the column will be represented as text corresponding to the name of the enum entries. Note that this can invalidate your data if you rename the entries of the enum class.
Implementation
ColumnBuilder<String> textEnum<T extends Enum>() => _isGenerated();