Skip to content

Commit c2d13b1

Browse files
authored
Merge pull request rails#47252 from zzak/drop-enum-values-warn
This should be a warning, note just a note
2 parents 740f0f1 + 9adba18 commit c2d13b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_record_postgresql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ end
327327

328328
NOTE: `ALTER TYPE ... ADD VALUE` cannot be executed inside of a transaction block so here we are using `disable_ddl_transaction!`
329329

330-
NOTE: Enum values [can't be dropped or reordered](https://www.postgresql.org/docs/current/datatype-enum.html). Adding a value is not easily reversed.
330+
WARNING. Enum values [can't be dropped or reordered](https://www.postgresql.org/docs/current/datatype-enum.html). Adding a value is not easily reversed.
331331

332332
Hint: to show all the values of the all enums you have, you should call this query in `bin/rails db` or `psql` console:
333333

0 commit comments

Comments
 (0)