diff --git a/docs-2.0/3.ngql-guide/10.tag-statements/3.alter-tag.md b/docs-2.0/3.ngql-guide/10.tag-statements/3.alter-tag.md index bebd209025c..ba5d79eec2b 100644 --- a/docs-2.0/3.ngql-guide/10.tag-statements/3.alter-tag.md +++ b/docs-2.0/3.ngql-guide/10.tag-statements/3.alter-tag.md @@ -10,10 +10,6 @@ - The property name must be unique in a tag. If you add a property with the same name as an existing property or a dropped property, the operation fails. -- Only the length of a `FIXED_STRING` or an `INT` can be increased. The length of a `STRING` or an `INT` cannot be decreased. - -- Only the data type conversions from FIXED_STRING to STRING and from FLOAT to DOUBLE are allowed. - ## Syntax @@ -38,6 +34,12 @@ ttl_definition: - When a property value is set to `NOT NULL` using `ADD` or `CHANGE`, a default value must be specified for the property, that is, the value of `DEFAULT` must be specified. +- When using `CHANGE` to modify the data type of a property: + + - Only the length of a `FIXED_STRING` or an `INT` can be increased. The length of a `STRING` or an `INT` cannot be decreased. + + - Only the data type conversions from FIXED_STRING to STRING and from FLOAT to DOUBLE are allowed. + ## Examples ```ngql