Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit acc7994

Browse files
docs: Added enumName column option (typeorm#7570)
Added minor documentation for typeorm#4824
1 parent 1656a11 commit acc7994

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/entities.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ You can change it by specifying your own name.
569569
* `charset: string` - Defines a column character set. Not supported by all database types.
570570
* `collation: string` - Defines a column collation.
571571
* `enum: string[]|AnyEnum` - Used in `enum` column type to specify list of allowed enum values. You can specify array of values or specify a enum class.
572+
* `enumName: string` - Defines the name for the used enum.
572573
* `asExpression: string` - Generated column expression. Used only in [MySQL](https://dev.mysql.com/doc/refman/5.7/en/create-table-generated-columns.html).
573574
* `generatedType: "VIRTUAL"|"STORED"` - Generated column type. Used only in [MySQL](https://dev.mysql.com/doc/refman/5.7/en/create-table-generated-columns.html).
574575
* `hstoreType: "object"|"string"` - Return type of `HSTORE` column. Returns value as string or as object. Used only in [Postgres](https://www.postgresql.org/docs/9.6/static/hstore.html).

0 commit comments

Comments
 (0)