aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2016-02-07 15:31:29 -0700
committerSean Griffin <sean@seantheprogrammer.com>2016-02-07 15:31:29 -0700
commit5ccf8a9853d4a190cd4929ac0f6d736884c1dc80 (patch)
tree892468c2ad959d9e9cdffa423387274880f361bd /activerecord/CHANGELOG.md
parent76c42383c7162a7c99110b0bb7af82c936841414 (diff)
parentaa38f7d6159574e3cfb3f2e313fa2c5e16e2ee1a (diff)
downloadrails-5ccf8a9853d4a190cd4929ac0f6d736884c1dc80.tar.gz
rails-5ccf8a9853d4a190cd4929ac0f6d736884c1dc80.tar.bz2
rails-5ccf8a9853d4a190cd4929ac0f6d736884c1dc80.zip
Merge pull request #23508 from meinac/add_numeric_type_into_migrations
Added numeric helper into `SchemaStatements` for MySQL and PostgreSQL
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 0832652d32..a4cf6023e1 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,13 @@
+* Added `numeric` helper into migrations.
+
+ Example:
+
+ create_table(:numeric_types) do |t|
+ t.numeric :numeric_type, precision: 10, scale: 2
+ end
+
+ *Mehmet Emin İNAÇ*
+
* Bumped the minimum supported version of PostgreSQL to >= 9.1.
Both PG 9.0 and 8.4 are past their end of life date:
http://www.postgresql.org/support/versioning/