diff options
author | Yves Senn <yves.senn@gmail.com> | 2016-01-12 09:08:18 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2016-01-12 09:08:18 +0100 |
commit | f718e52bcce02bc137263ead3a9d9f5df1c42c37 (patch) | |
tree | 95c786bb04879063fc624ff6faea288dc82b35df /activerecord | |
parent | d16645a37a954c5f342c724796c0a5efce7fac15 (diff) | |
download | rails-f718e52bcce02bc137263ead3a9d9f5df1c42c37.tar.gz rails-f718e52bcce02bc137263ead3a9d9f5df1c42c37.tar.bz2 rails-f718e52bcce02bc137263ead3a9d9f5df1c42c37.zip |
add migration versioning example to the changelog. [ci skip]
Closes #23021.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 56ac3b95b3..3de98c1f81 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -89,6 +89,14 @@ defaults without breaking existing migrations, or forcing them to be rewritten through a deprecation cycle. + New migrations specify the Rails version they were written for: + + class AddStatusToOrders < ActiveRecord::Migration[5.0] + def change + # ... + end + end + *Matthew Draper*, *Ravil Bayramgalin* * Use bind params for `limit` and `offset`. This will generate significantly |