From a469f72208e3f2886b01f38da8cf7589fa667963 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Mon, 18 Apr 2016 11:26:21 +0530 Subject: Fix wording related to adapters supporting database comments [ci skip] --- guides/source/active_record_migrations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides') diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md index 2aae35223a..f914122242 100644 --- a/guides/source/active_record_migrations.md +++ b/guides/source/active_record_migrations.md @@ -246,7 +246,7 @@ class AddUserRefToProducts < ActiveRecord::Migration[5.0] end ``` -This migration will create a `user_id` column and appropriate index. +This migration will create a `user_id` column and appropriate index. For more `add_reference` options, visit the [API documentation](http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html#method-i-add_reference). There is also a generator which will produce join tables if `JoinTable` is part of the name: @@ -361,7 +361,7 @@ that will be stored in database itself and can be viewed with database administr tools, such as MySQL Workbench or PgAdmin III. It's highly recommended to specify comments in migrations for applications with large databases as it helps people to understand data model and generate documentation. -Currently only MySQL and PostgreSQL supports comments. +Currently only the MySQL and PostgreSQL adapters support comments. ### Creating a Join Table -- cgit v1.2.3