From 79932d109d128a889daf8354e6d9a3cfa33b5648 Mon Sep 17 00:00:00 2001 From: sampatbadhe Date: Fri, 16 Jun 2023 05:29:15 +0530 Subject: [PATCH] Update note for add_enum_value - Enum values can be renamed --- guides/source/active_record_postgresql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/active_record_postgresql.md b/guides/source/active_record_postgresql.md index 053e42caf4771..6305fb0c309bd 100644 --- a/guides/source/active_record_postgresql.md +++ b/guides/source/active_record_postgresql.md @@ -335,7 +335,7 @@ def up end ``` -NOTE: Enum values can't be dropped or renamed which also means add_enum_value is irreversible. You can read why [here](https://www.postgresql.org/message-id/29F36C7C98AB09499B1A209D48EAA615B7653DBC8A@mail2a.alliedtesting.com). +NOTE: Enum values can't be dropped, which also means add_enum_value is irreversible. You can read why [here](https://www.postgresql.org/message-id/29F36C7C98AB09499B1A209D48EAA615B7653DBC8A@mail2a.alliedtesting.com). To rename a value you can use `rename_enum_value`: