From f4726e9f5029931fc74aee9d5eff93d6a762dcff Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 4 Feb 2021 21:09:06 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/development/database/strings_and_the_text_data_type.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/development/database/strings_and_the_text_data_type.md') diff --git a/doc/development/database/strings_and_the_text_data_type.md b/doc/development/database/strings_and_the_text_data_type.md index 703118b23d2..f338520c6ca 100644 --- a/doc/development/database/strings_and_the_text_data_type.md +++ b/doc/development/database/strings_and_the_text_data_type.md @@ -36,7 +36,7 @@ validations and index creation while it allows reads and writes). ### Exceptions -Text columns used by `attr_encrypted` are not required to have a limit, becuase the length of the +Text columns used by `attr_encrypted` are not required to have a limit, because the length of the text after encryption may be longer than the text itself. Instead, you can use an Active Record length validation on the attribute. -- cgit v1.2.3