aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-12-19 12:15:27 +0100
committerYves Senn <yves.senn@gmail.com>2014-12-19 12:15:27 +0100
commit10e989b76df1a833f9da22598c1a368777374a01 (patch)
tree15915fa7c404ab01fefa67652ee16905ea8533fd /activerecord/CHANGELOG.md
parent111f2f442214d0212a76484d29bf6dab1aca0507 (diff)
parentbe1e0241f012f1151d2448b10e14b8b2eda26b84 (diff)
downloadrails-10e989b76df1a833f9da22598c1a368777374a01.tar.gz
rails-10e989b76df1a833f9da22598c1a368777374a01.tar.bz2
rails-10e989b76df1a833f9da22598c1a368777374a01.zip
Merge pull request #18082 from rails/17945_purge_in_test_only
`db:schema:load` and `db:structure:load` do not purge the database
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 72b770e2d5..6494c7374e 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,18 @@
+* Introduce `force: :cascade` option for `create_table`. Using this option
+ will recreate tables even if they have dependent objects (like foreign keys).
+ `db/schema.rb` now uses `force: :cascade`. This makes it possible to
+ reload the schema when foreign keys are in place.
+
+ *Matthew Draper*, *Yves Senn*
+
+* `db:schema:load` and `db:structure:load` no longer purge the database
+ before loading the schema. This is left for the user to do.
+ `db:test:prepare` will still purge the database.
+
+ Closes #17945.
+
+ *Yves Senn*
+
* Fix undesirable RangeError by Type::Integer. Add Type::UnsignedInteger.
*Ryuta Kamizono*