diff options
author | Matthew Draper <matthew@trebex.net> | 2015-12-06 08:09:30 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2015-12-15 17:18:09 +1030 |
commit | 6d2469daa6b29ce5113e1855df5e23cba32c24e8 (patch) | |
tree | ac800c64aa067c54b0be9fc178182893d3b6e71b /activerecord | |
parent | badaf353ba4591ce78fa0c305b656f7cae56992b (diff) | |
download | rails-6d2469daa6b29ce5113e1855df5e23cba32c24e8.tar.gz rails-6d2469daa6b29ce5113e1855df5e23cba32c24e8.tar.bz2 rails-6d2469daa6b29ce5113e1855df5e23cba32c24e8.zip |
Schema uses current migration API
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/schema.rb b/activerecord/lib/active_record/schema.rb index 31dd584538..fdf9965a82 100644 --- a/activerecord/lib/active_record/schema.rb +++ b/activerecord/lib/active_record/schema.rb @@ -27,7 +27,7 @@ module ActiveRecord # # ActiveRecord::Schema is only supported by database adapters that also # support migrations, the two features being very similar. - class Schema < Migration + class Schema < Migration::Current # Eval the given block. All methods available to the current connection # adapter are available within the block, so you can easily use the # database definition DSL to build up your schema ( |