diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-14 22:28:57 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-17 16:08:33 -0500 |
commit | 45b4d5f81f0c0ca72c18d0dea4a3a7b2ecc589bf (patch) | |
tree | fc4325bdb967bb4c93b12cf2b6cd694326d659a1 /activerecord/lib/active_record/connection_adapters | |
parent | 91ddb30083430622188d76eb9f29b78131df67f9 (diff) | |
download | rails-45b4d5f81f0c0ca72c18d0dea4a3a7b2ecc589bf.tar.gz rails-45b4d5f81f0c0ca72c18d0dea4a3a7b2ecc589bf.tar.bz2 rails-45b4d5f81f0c0ca72c18d0dea4a3a7b2ecc589bf.zip |
Remove deprecated `ActiveRecord::ConnectionAdapters::SQLite3Adapter#valid_alter_table_type?`
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb index 3896d4df07..969b648e23 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb @@ -307,11 +307,6 @@ module ActiveRecord rename_table_indexes(table_name, new_name) end - def valid_alter_table_type?(type, options = {}) - !invalid_alter_table_type?(type, options) - end - deprecate :valid_alter_table_type? - def add_column(table_name, column_name, type, options = {}) #:nodoc: if invalid_alter_table_type?(type, options) alter_table(table_name) do |definition| |