aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/model_schema.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2015-12-15 17:10:40 +1030
committerMatthew Draper <matthew@trebex.net>2015-12-15 17:18:10 +1030
commit97c77160cd4c8b32a6572adefa268eb91162e3e1 (patch)
treef29f9a0aec8432846199ccd69e1f975b95321b4b /activerecord/lib/active_record/model_schema.rb
parent6d2469daa6b29ce5113e1855df5e23cba32c24e8 (diff)
downloadrails-97c77160cd4c8b32a6572adefa268eb91162e3e1.tar.gz
rails-97c77160cd4c8b32a6572adefa268eb91162e3e1.tar.bz2
rails-97c77160cd4c8b32a6572adefa268eb91162e3e1.zip
Use a real migration version number in docs
Even though this means more things to change when we bump after a release, it's more important that our examples are directly copyable.
Diffstat (limited to 'activerecord/lib/active_record/model_schema.rb')
-rw-r--r--activerecord/lib/active_record/model_schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/model_schema.rb b/activerecord/lib/active_record/model_schema.rb
index 8ae2a61aa8..5df67cdbe7 100644
--- a/activerecord/lib/active_record/model_schema.rb
+++ b/activerecord/lib/active_record/model_schema.rb
@@ -275,7 +275,7 @@ module ActiveRecord
# when just after creating a table you want to populate it with some default
# values, eg:
#
- # class CreateJobLevels < ActiveRecord::Migration[0.0]
+ # class CreateJobLevels < ActiveRecord::Migration[5.0]
# def up
# create_table :job_levels do |t|
# t.integer :id