diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-04-19 13:19:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-19 13:19:18 -0400 |
commit | bf8dd1235203b0e93c52e4fa7e569aea9b205d7a (patch) | |
tree | bcdf32a2fc47983c42c9170c77c493704d2c7ac7 /guides | |
parent | 809421811440391d596c63fb65e2a4a0424027ef (diff) | |
parent | e2648c42abe7466e2c982db6c5fd4565a0555562 (diff) | |
download | rails-bf8dd1235203b0e93c52e4fa7e569aea9b205d7a.tar.gz rails-bf8dd1235203b0e93c52e4fa7e569aea9b205d7a.tar.bz2 rails-bf8dd1235203b0e93c52e4fa7e569aea9b205d7a.zip |
Merge pull request #28794 from vishalzambre/activerecord-guid
[ci skip] Changed plain text to NOTE.
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_migrations.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md index 6e7e29ed60..75e1096426 100644 --- a/guides/source/active_record_migrations.md +++ b/guides/source/active_record_migrations.md @@ -972,11 +972,11 @@ on. Because this is database-independent, it could be loaded into any database that Active Record supports. This could be very useful if you were to distribute an application that is able to run against multiple databases. -There is however a trade-off: `db/schema.rb` cannot express database specific -items such as triggers, stored procedures or check constraints. 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`. +NOTE: `db/schema.rb` cannot express database specific items such as triggers, +sequences, stored procedures or check constraints, etc. 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 the database (via the `db:structure:dump` |