File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -375,11 +375,11 @@ create_table :users do |t|
375
375
end
376
376
```
377
377
378
- Also you can pass the ` :comment ` option with any description for the table
379
- that will be stored in database itself and can be viewed with database administration
378
+ Also, you can pass the ` :comment ` option with any description for the table
379
+ that will be stored in the database itself and can be viewed with database administration
380
380
tools, such as MySQL Workbench or PgAdmin III. It's highly recommended to specify
381
381
comments in migrations for applications with large databases as it helps people
382
- to understand data model and generate documentation.
382
+ to understand the data model and generate documentation.
383
383
Currently only the MySQL and PostgreSQL adapters support comments.
384
384
385
385
[ `create_table` ] : https://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html#method-i-create_table
You can’t perform that action at this time.
0 commit comments