diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-11-05 11:22:07 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-11-05 11:22:07 +0100 |
commit | 44c7ebf5beb7936f22aefb6ffaadb62082456f34 (patch) | |
tree | 8212273b77c7c84d70066fcc6561c6efdda2992a | |
parent | 57f72f249285c6af1cd90f79e29a11710ae49964 (diff) | |
parent | 28eb085cdf989395957cbc50c7e1bb981e70ff9b (diff) | |
download | rails-44c7ebf5beb7936f22aefb6ffaadb62082456f34.tar.gz rails-44c7ebf5beb7936f22aefb6ffaadb62082456f34.tar.bz2 rails-44c7ebf5beb7936f22aefb6ffaadb62082456f34.zip |
Merge pull request #17473 from vipulnsward/rm-unused-method
Remove unused duplicated method `add_column_position` from AbstractMysqlAdapter.
-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') |