aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-03-11 23:05:59 +0100
committerXavier Noria <fxn@hashref.com>2013-03-11 23:13:12 +0100
commitcae93be0cac32eaa75746dda00454a26c4654be5 (patch)
treea375710a8ae1dc3876cf077a2a13b1227cb74e3d /activerecord/CHANGELOG.md
parentefa5307f18000a21d83e23dc80beb32767ed3f25 (diff)
downloadrails-cae93be0cac32eaa75746dda00454a26c4654be5.tar.gz
rails-cae93be0cac32eaa75746dda00454a26c4654be5.tar.bz2
rails-cae93be0cac32eaa75746dda00454a26c4654be5.zip
promotes change_column_null to the migrations API
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 33ba77bca2..943c2dec16 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,12 @@
## Rails 4.0.0 (unreleased) ##
+* Promotes `change_column_null` to the migrations API. This macro sets/removes
+ `NOT NULL` constraints, and accepts an optional argument to replace existing
+ `NULL`s if needed. The adapters for SQLite, MySQL, PostgreSQL, and (at least)
+ Oracle, already implement this method.
+
+ *Xavier Noria*
+
* Uniqueness validation allows you to pass `:conditions` to limit
the constraint lookup.