From 77822d623ed4d93f4e9294b2c1c93524ff02e8b9 Mon Sep 17 00:00:00 2001 From: stollr Date: Wed, 3 May 2023 10:38:35 +0200 Subject: [PATCH] Added doc for the fields parameter of the UniqueConstraint attribute --- docs/en/reference/attributes-reference.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/reference/attributes-reference.rst b/docs/en/reference/attributes-reference.rst index 2054e31a5dc..50c91abc252 100644 --- a/docs/en/reference/attributes-reference.rst +++ b/docs/en/reference/attributes-reference.rst @@ -1104,7 +1104,8 @@ context. Required parameters: - **name**: Name of the Index -- **columns**: Array of columns. +- **fields**: Array of fields (the names of the properties, used in the entity class). +- **columns**: Array of columns (the names of the columns, used in the schema). Optional parameters: