aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_migrations.md
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-04-18 11:26:21 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-04-18 11:34:55 +0530
commita469f72208e3f2886b01f38da8cf7589fa667963 (patch)
treebd848887799dd92f4c73199354601b1ac5108c74 /guides/source/active_record_migrations.md
parent847084e04665b2b1efd02dd82bde2ca2981bae88 (diff)
downloadrails-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/active_record_migrations.md')
-rw-r--r--guides/source/active_record_migrations.md4
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