diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-01-31 15:04:24 +0900 |
---|---|---|
committer | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-01-31 15:04:24 +0900 |
commit | 2ea5b8f0578b2ec35881c8b01e6e18aed7e38edc (patch) | |
tree | f4cbf7a5c86fd8eb23b76419b3fe2a05ec498fc8 | |
parent | 3ba52d6a2b6708c408f9e8a4eee1d73709b067d1 (diff) | |
download | rails-2ea5b8f0578b2ec35881c8b01e6e18aed7e38edc.tar.gz rails-2ea5b8f0578b2ec35881c8b01e6e18aed7e38edc.tar.bz2 rails-2ea5b8f0578b2ec35881c8b01e6e18aed7e38edc.zip |
Fix `Unknown migration version "6.0"`
-rw-r--r-- | activerecord/lib/active_record/migration/compatibility.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration/compatibility.rb b/activerecord/lib/active_record/migration/compatibility.rb index 7ae8073478..0edaaa0cf9 100644 --- a/activerecord/lib/active_record/migration/compatibility.rb +++ b/activerecord/lib/active_record/migration/compatibility.rb @@ -13,7 +13,10 @@ module ActiveRecord const_get(name) end - V5_2 = Current + V6_0 = Current + + class V5_2 < V6_0 + end class V5_1 < V5_2 def change_column(table_name, column_name, type, options = {}) |