1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

add migration versioning example to the changelog. [ci skip]

Closes #23021.
This commit is contained in:
Yves Senn 2016-01-12 09:08:18 +01:00
parent d16645a37a
commit f718e52bcc

View file

@ -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