Skip to content

Commit

Permalink
Merge pull request rails#15571 from kalmanh/patch-1
Browse files Browse the repository at this point in the history
Update migrations.md
  • Loading branch information
schneems committed Jun 8, 2014
2 parents c9a4312 + 1a69112 commit e385b85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions guides/source/migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ braces. You can use the following modifiers:
* `scale` Defines the scale for the `decimal` fields, representing the number of digits after the decimal point.
* `polymorphic` Adds a `type` column for `belongs_to` associations.
* `null` Allows or disallows `NULL` values in the column.
* `default` Allows to set a default value on the column. NOTE: If using a dynamic value (such as date), the default will only be calculated the first time (e.g. on the date the migration is applied.)

For instance, running:

Expand Down

0 comments on commit e385b85

Please sign in to comment.