diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-04-27 10:45:22 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-04-27 11:45:21 +0200 |
commit | 557c46a41ec73c485a783b56fbbe893a00f49fe8 (patch) | |
tree | f92d2890d718e3abd5ffdc49d391f901e4d10c7b /activerecord/CHANGELOG.md | |
parent | ba35b4702e012f866c4bf904d5b7da21375b3133 (diff) | |
download | rails-557c46a41ec73c485a783b56fbbe893a00f49fe8.tar.gz rails-557c46a41ec73c485a783b56fbbe893a00f49fe8.tar.bz2 rails-557c46a41ec73c485a783b56fbbe893a00f49fe8.zip |
Revert "Merge pull request #17920 from calebthompson/dont-rely-on-environment-task-for-schema-load"
This reverts commit 08ff4ccbbb3fb143a02e6752efb974a4bcfcd3bb, reversing
changes made to 6c9ed6dbc62450cdb87559afd15798305e069146.
Caused by #17920.
Closes #19545.
This patch introduced regressions because initializers were no longer
loaded. Specifically missing inflections result in broken restores of
the database.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index d30c8e345f..fa2b7f0c0f 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,10 @@ +* Revert behavior of `db:schema:load` back to loading the full + environment. This ensures that initializers are run. + + Fixes #19545. + + *Yves Senn* + * Fix missing index when using `timestamps` with the `index` option. The `index` option used with `timestamps` should be passed to both |