From 7a07b2217ad73bbe99234840ea721dae9ecb0d9a Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Fri, 27 Jun 2014 15:09:10 +0200 Subject: Tiny follow-up to 1a69112 Wrap list items to 80 chars and avoid relying on NOTE inside an item since they are meant to be parsed in paragraphs, not lists. [ci skip] --- guides/source/active_record_migrations.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'guides/source/active_record_migrations.md') diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md index 1b0ae3ec7e..229c6ee458 100644 --- a/guides/source/active_record_migrations.md +++ b/guides/source/active_record_migrations.md @@ -442,11 +442,15 @@ is reversible. Column modifiers can be applied when creating or changing a column: * `limit` Sets the maximum size of the `string/text/binary/integer` fields. -* `precision` Defines the precision for the `decimal` fields, representing the total number of digits in the number. -* `scale` Defines the scale for the `decimal` fields, representing the number of digits after the decimal point. +* `precision` Defines the precision for the `decimal` fields, representing the +total number of digits in the number. +* `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.) +* `default` Allows to set a default value on the column. Note that if you +are using a dynamic value (such as a date), the default will only be calculated +the first time (i.e. on the date the migration is applied). * `index` Adds an index for the column. Some adapters may support additional options; see the adapter specific API docs -- cgit v1.2.3