diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2019-06-20 14:28:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 14:28:41 -0400 |
commit | 06c38ce5d5d65d35f22e9c399719a1d4a1ea866f (patch) | |
tree | e93866577795dbd9a06c4f185f1c44ef3cf4c1d3 /activerecord/lib/active_record/schema_migration.rb | |
parent | e14f3f3c1186fb452ff0ff2d63577a5174a77c1f (diff) | |
parent | 4feeee2abeaf61eed2f9ee8463d3ac9661ec8cc6 (diff) | |
download | rails-06c38ce5d5d65d35f22e9c399719a1d4a1ea866f.tar.gz rails-06c38ce5d5d65d35f22e9c399719a1d4a1ea866f.tar.bz2 rails-06c38ce5d5d65d35f22e9c399719a1d4a1ea866f.zip |
Merge pull request #36525 from eileencodes/revert-integer-change-to-schema-migration
Revert schema dumper to use strings rather than integers
Diffstat (limited to 'activerecord/lib/active_record/schema_migration.rb')
-rw-r--r-- | activerecord/lib/active_record/schema_migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/schema_migration.rb b/activerecord/lib/active_record/schema_migration.rb index 58b21d2cc8..dec7fee986 100644 --- a/activerecord/lib/active_record/schema_migration.rb +++ b/activerecord/lib/active_record/schema_migration.rb @@ -45,7 +45,7 @@ module ActiveRecord end def all_versions - order(:version).pluck(:version).map(&:to_i) + order(:version).pluck(:version) end end |