diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-04-18 11:26:21 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-04-18 11:34:55 +0530 |
commit | a469f72208e3f2886b01f38da8cf7589fa667963 (patch) | |
tree | bd848887799dd92f4c73199354601b1ac5108c74 /guides/source | |
parent | 847084e04665b2b1efd02dd82bde2ca2981bae88 (diff) | |
download | rails-a469f72208e3f2886b01f38da8cf7589fa667963.tar.gz rails-a469f72208e3f2886b01f38da8cf7589fa667963.tar.bz2 rails-a469f72208e3f2886b01f38da8cf7589fa667963.zip |
Fix wording related to adapters supporting database comments [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_migrations.md | 4 |
1 files changed, 2 insertions, 2 deletions
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 |