diff options
author | Vipul A M <vipulnsward@gmail.com> | 2014-11-01 16:45:31 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2014-11-01 16:45:31 +0530 |
commit | 28eb085cdf989395957cbc50c7e1bb981e70ff9b (patch) | |
tree | ca2810e36a33b48be2485d63bf8386dfbdfde26a /activerecord/lib | |
parent | 4ef891189dc73e0d9aede828a65cbc736d7a561e (diff) | |
download | rails-28eb085cdf989395957cbc50c7e1bb981e70ff9b.tar.gz rails-28eb085cdf989395957cbc50c7e1bb981e70ff9b.tar.bz2 rails-28eb085cdf989395957cbc50c7e1bb981e70ff9b.zip |
- Remove unused duplicated method `add_column_position` from AbstractMysqlAdapter
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb index 7f04e35042..5f512758e9 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb @@ -585,14 +585,6 @@ module ActiveRecord end end - def add_column_position!(sql, options) - if options[:first] - sql << " FIRST" - elsif options[:after] - sql << " AFTER #{quote_column_name(options[:after])}" - end - end - # SHOW VARIABLES LIKE 'name' def show_variable(name) variables = select_all("SHOW VARIABLES LIKE '#{name}'", 'SCHEMA') |