aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/migrations.md
diff options
context:
space:
mode:
Diffstat (limited to 'guides/source/migrations.md')
-rw-r--r--guides/source/migrations.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md
index 550f8fdc3c..1ad8db12eb 100644
--- a/guides/source/migrations.md
+++ b/guides/source/migrations.md
@@ -377,8 +377,8 @@ create_join_table :products, :categories, table_name: :categorization
will create a `categorization` table.
-By default, `create_join_table` will create two columns with no options, but
-you can specify these options using the `:column_options` option. For example,
+For the two table columns, you can override the default `:null` option, or add
+others, by specifying the `:column_options` option. For example,
```ruby
create_join_table :products, :categories, column_options: {null: true}