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:
commit
3278bca877
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue