aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-02-28 10:05:13 +0100
committerYves Senn <yves.senn@gmail.com>2013-02-28 13:42:30 +0100
commit5d0ca7462255b7d52a007cfe5bbc7e1bf67c3f79 (patch)
tree207ec701352d5531aafda951940d38999119e2d0 /activerecord/CHANGELOG.md
parent36abb550e730ad8348e245887a7f89ea74501c8b (diff)
downloadrails-5d0ca7462255b7d52a007cfe5bbc7e1bf67c3f79.tar.gz
rails-5d0ca7462255b7d52a007cfe5bbc7e1bf67c3f79.tar.bz2
rails-5d0ca7462255b7d52a007cfe5bbc7e1bf67c3f79.zip
Support PostgreSQL specific column types when using `change_table`.
Closes #9480. We use `TableDefinition` for `#create_table` and `Table` for `#change_table`. The PostgreSQL sepcifc types were only defined on `TableDefinition` so I also added them to `Table`.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 496f902979..a5d74418c4 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,17 @@
## Rails 4.0.0 (unreleased) ##
+* Support PostgreSQL specific column types when using `change_table`.
+ Fixes #9480.
+
+ Example:
+
+ change_table :authors do |t|
+ t.hstore :books
+ t.json :metadata
+ end
+
+ *Yves Senn*
+
* Revert 408227d9c5ed7d, 'quote numeric'. This introduced some regressions.
*Steve Klabnik*