diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2018-04-24 10:31:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-24 10:31:46 -0600 |
commit | 42c9b560cb5d8c3ca11afe141cbc8dabfb970e61 (patch) | |
tree | 2969655fa74f3c81221c51b1b6693f8606943b58 /activerecord/lib | |
parent | c790eae872007140946c0af8bb0904c7b036ba62 (diff) | |
parent | 84718df86097442f85999d6f2e6f6b8b59724c3f (diff) | |
download | rails-42c9b560cb5d8c3ca11afe141cbc8dabfb970e61.tar.gz rails-42c9b560cb5d8c3ca11afe141cbc8dabfb970e61.tar.bz2 rails-42c9b560cb5d8c3ca11afe141cbc8dabfb970e61.zip |
Merge pull request #32646 from derekprior/dp-schema-dumper-documentation
Update schema.rb documentation [CI SKIP]
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/schema_dumper.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb index 9974c28445..d475e77444 100644 --- a/activerecord/lib/active_record/schema_dumper.rb +++ b/activerecord/lib/active_record/schema_dumper.rb @@ -71,11 +71,11 @@ module ActiveRecord # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # -# Note that this schema.rb definition is the authoritative source for your -# database schema. If you need to create the application database on another -# system, you should be using db:schema:load, not running all the migrations -# from scratch. The latter is a flawed and unsustainable approach (the more migrations -# you'll amass, the slower it'll run and the greater likelihood for issues). +# This file is the source Rails uses to define your schema when running `rails +# db:schema:load`. When creating a new database, `rails db:schema:load` tends to +# be faster and is potentially less error prone than running all of your +# migrations from scratch. Old migrations may fail to apply correctly if those +# migrations use external dependencies or application code. # # It's strongly recommended that you check this file into your version control system. |