diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-09-28 01:26:18 -0700 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-09-28 01:26:18 -0700 |
commit | fa915461bc4892b8d53d3d4e202ba16f0dbdfe12 (patch) | |
tree | dac0321e85928b12044a24a6900abe24265c37a1 | |
parent | 3e0a60e4e2316ee696bdcf1c115582f8f450ad07 (diff) | |
parent | 98a5169c2ee6355a6e13df33b6219b04201d1c96 (diff) | |
download | rails-fa915461bc4892b8d53d3d4e202ba16f0dbdfe12.tar.gz rails-fa915461bc4892b8d53d3d4e202ba16f0dbdfe12.tar.bz2 rails-fa915461bc4892b8d53d3d4e202ba16f0dbdfe12.zip |
Merge pull request #12391 from francisgo/patch-10
Migrations Guide: Fix line length [ci skip]
-rw-r--r-- | guides/source/migrations.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md index 0f5379059e..83e7097020 100644 --- a/guides/source/migrations.md +++ b/guides/source/migrations.md @@ -1040,8 +1040,8 @@ this, then you should set the schema format to `:sql`. Instead of using Active Record's schema dumper, the database's structure will be dumped using a tool specific to the database (via the `db:structure:dump` Rake task) into `db/structure.sql`. For example, for PostgreSQL, the `pg_dump` -utility is used. For MySQL, this file will contain the output of `SHOW CREATE -TABLE` for the various tables. +utility is used. For MySQL, this file will contain the output of +`SHOW CREATE TABLE` for the various tables. Loading these schemas is simply a question of executing the SQL statements they contain. By definition, this will create a perfect copy of the database's |