Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[ci skip] Add Tip for change_column_null and change_column_default in…

… guides
  • Loading branch information...
1 parent 042f185 commit 876908dcebeaf1a04c93a753ff7f045649be3d75 @aditya-kapoor aditya-kapoor committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  guides/source/
2  guides/source/
@@ -434,6 +434,8 @@ change_column_default :products, :approved, false
This sets `:name` field on products to a `NOT NULL` column and the default
value of the `:approved` field to false.
+TIP: Unlike `change_column` (and `change_column_default`), `change_column_null` is reversible.
### Column Modifiers
Column modifiers can be applied when creating or changing a column:

0 comments on commit 876908d

Please sign in to comment.
Something went wrong with that request. Please try again.