Skip to content

Commit

Permalink
docs: fix broken table (#3453)
Browse files Browse the repository at this point in the history
* fix broken table

* Update unversioned docs as well
  • Loading branch information
mellanslag-de committed Sep 9, 2022
1 parent 8e9f6d9 commit 1297966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/docs/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract base classes.
| `customRepository` | `() => EntityRepository` | yes | Set [custom repository class](repositories.md#custom-repository). |
| `discriminatorColumn` | `string` | yes | For [Single Table Inheritance](inheritance-mapping.md#single-table-inheritance) |
| `discriminatorMap` | `Dictionary<string>` | yes | For [Single Table Inheritance](inheritance-mapping.md#single-table-inheritance) |
| `discriminatorValue` | `number` &#124; `string`| yes | For [Single Table Inheritance](inheritance-mapping.md#single-table-inheritance) |
| `discriminatorValue` | `number` &#124; `string` | yes | For [Single Table Inheritance](inheritance-mapping.md#single-table-inheritance) |

abstract | `boolean`;

Expand Down Expand Up @@ -54,7 +54,7 @@ extend the `@Property()` decorator, so you can also use its parameters there.
| `comment` | `string` | yes | Specify comment of column for [Schema Generator](schema-generator.md).. **(SQL only)** |
| `version` | `boolean` | yes | Set to true to enable [Optimistic Locking] via version field (transactions.md#optimistic-locking). **(SQL only)** |
| `concurrencyCheck` | `boolean` | yes | Set to true to enable [Optimistic Locking] via concurrency fields (transactions.md#concurrency-checks).|
| `customOrder` | `string[] | number[] | boolean[]` | yes | Specify a custom order for the column. **(SQL only)** |
| `customOrder` | `string[]` &#124; `number[]` &#124; `boolean[]` | yes | Specify a custom order for the column. **(SQL only)** |

> You can use property initializers as usual.
Expand Down
4 changes: 2 additions & 2 deletions docs/versioned_docs/version-5.3/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract base classes.
| `customRepository` | `() => EntityRepository` | yes | Set [custom repository class](repositories.md#custom-repository). |
| `discriminatorColumn` | `string` | yes | For [Single Table Inheritance](inheritance-mapping.md#single-table-inheritance) |
| `discriminatorMap` | `Dictionary<string>` | yes | For [Single Table Inheritance](inheritance-mapping.md#single-table-inheritance) |
| `discriminatorValue` | `number` &#124; `string`| yes | For [Single Table Inheritance](inheritance-mapping.md#single-table-inheritance) |
| `discriminatorValue` | `number` &#124; `string` | yes | For [Single Table Inheritance](inheritance-mapping.md#single-table-inheritance) |

abstract | `boolean`;

Expand Down Expand Up @@ -54,7 +54,7 @@ extend the `@Property()` decorator, so you can also use its parameters there.
| `comment` | `string` | yes | Specify comment of column for [Schema Generator](schema-generator.md).. **(SQL only)** |
| `version` | `boolean` | yes | Set to true to enable [Optimistic Locking] via version field (transactions.md#optimistic-locking). **(SQL only)** |
| `concurrencyCheck` | `boolean` | yes | Set to true to enable [Optimistic Locking] via concurrency fields (transactions.md#concurrency-checks).|
| `customOrder` | `string[] | number[] | boolean[]` | yes | Specify a custom order for the column. **(SQL only)** |
| `customOrder` | `string[]` &#124; `number[]` &#124; `boolean[]` | yes | Specify a custom order for the column. **(SQL only)** |

> You can use property initializers as usual.
Expand Down

0 comments on commit 1297966

Please sign in to comment.