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 Jun 20, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 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.