aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc
diff options
context:
space:
mode:
authorFrederick Cheung <frederick.cheung@gmail.com>2008-09-11 11:50:31 +0100
committerFrederick Cheung <frederick.cheung@gmail.com>2008-09-11 11:50:31 +0100
commitbb52108ce8fd11cfae52a9776d33788075d0a9a8 (patch)
tree4decc8cb151c7aa09c0d7f366ca5fa4062f004ce /railties/doc
parentc329a567529f1fb7ac4204fc43940bfb45ff58a4 (diff)
downloadrails-bb52108ce8fd11cfae52a9776d33788075d0a9a8.tar.gz
rails-bb52108ce8fd11cfae52a9776d33788075d0a9a8.tar.bz2
rails-bb52108ce8fd11cfae52a9776d33788075d0a9a8.zip
Fix typo
Diffstat (limited to 'railties/doc')
-rw-r--r--railties/doc/guides/migrations/scheming.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/migrations/scheming.txt b/railties/doc/guides/migrations/scheming.txt
index cb194d11df..26eb56c13b 100644
--- a/railties/doc/guides/migrations/scheming.txt
+++ b/railties/doc/guides/migrations/scheming.txt
@@ -37,7 +37,7 @@ In many ways this is exactly what it is. This file is created by inspecting the
There is however a trade-off: `schema.rb` cannot express database specific items such as foreign key constraints, triggers or stored procedures. While in a migration you can execute custom SQL statements, the schema dumper cannot reconstitute those statements from the database. If you are using features like 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 that database (via the `db:structure:dump` rake task) into `db/#\{RAILS_ENV\}_structure.sql`. For example for PostgreSQL the `pg_dump` utility is used and for MySQL this file will contain the output of SHOW CREATE TABLE for the various tables. Loading this schema is simply a question of executing the SQL statements contained inside.
+Instead of using Active Record's schema dumper the database's structure will be dumped using a tool specific to that database (via the `db:structure:dump` rake task) into `db/#\{RAILS_ENV\}_structure.sql`. For example for PostgreSQL the `pg_dump` utility is used and for MySQL this file will contain the output of SHOW CREATE TABLE for the various tables. Loading this schema is simply a question of executing the SQL statements contained inside.
By definition this will be a perfect copy of the database's structure but this will usually prevent loading the schema into a database other than the one used to create it.