Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #15571 from kalmanh/patch-1

  • Loading branch information...
commit e385b853533e15223c89fccde8b20342bbe6528c 2 parents c9a4312 + 1a69112
@schneems schneems authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  guides/source/
1  guides/source/
@@ -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:

0 comments on commit e385b85

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