1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #32712 from composerinteralia/migrations-typo

Fix typo in migrations guide [ci skip]
This commit is contained in:
Eileen M. Uchitelle 2018-04-24 14:43:49 -04:00 committed by GitHub
commit 3278bca877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -976,7 +976,7 @@ using a tool specific to the database into `db/structure.sql`. For example, for
PostgreSQL, the `pg_dump` utility is used. For MySQL and MariaDB, this file will PostgreSQL, the `pg_dump` utility is used. For MySQL and MariaDB, this file will
contain the output of `SHOW CREATE TABLE` for the various tables. contain the output of `SHOW CREATE TABLE` for the various tables.
To load the schema from `db/strcuture.sql`, run `rails db:structure:load`. To load the schema from `db/structure.sql`, run `rails db:structure:load`.
Loading this file is done by executing the SQL statements it contains. By Loading this file is done by executing the SQL statements it contains. By
definition, this will create a perfect copy of the database's structure. definition, this will create a perfect copy of the database's structure.