diff options
Diffstat (limited to 'activerecord/lib/active_record/tasks')
3 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/tasks/firebird_database_tasks.rb b/activerecord/lib/active_record/tasks/firebird_database_tasks.rb index 86bf17f142..98014a38ea 100644 --- a/activerecord/lib/active_record/tasks/firebird_database_tasks.rb +++ b/activerecord/lib/active_record/tasks/firebird_database_tasks.rb @@ -4,6 +4,7 @@ module ActiveRecord delegate :connection, :establish_connection, to: ActiveRecord::Base def initialize(configuration) + ActiveSupport::Deprecation.warn "This database tasks were deprecated, because this tasks should be served by the 3rd party adapter." @configuration = configuration end diff --git a/activerecord/lib/active_record/tasks/oracle_database_tasks.rb b/activerecord/lib/active_record/tasks/oracle_database_tasks.rb index 780fc1fd99..de3aa50e5e 100644 --- a/activerecord/lib/active_record/tasks/oracle_database_tasks.rb +++ b/activerecord/lib/active_record/tasks/oracle_database_tasks.rb @@ -4,6 +4,7 @@ module ActiveRecord delegate :connection, :establish_connection, to: ActiveRecord::Base def initialize(configuration) + ActiveSupport::Deprecation.warn "This database tasks were deprecated, because this tasks should be served by the 3rd party adapter." @configuration = configuration end diff --git a/activerecord/lib/active_record/tasks/sqlserver_database_tasks.rb b/activerecord/lib/active_record/tasks/sqlserver_database_tasks.rb index 011954d136..c718ee03a8 100644 --- a/activerecord/lib/active_record/tasks/sqlserver_database_tasks.rb +++ b/activerecord/lib/active_record/tasks/sqlserver_database_tasks.rb @@ -6,6 +6,7 @@ module ActiveRecord delegate :connection, :establish_connection, to: ActiveRecord::Base def initialize(configuration) + ActiveSupport::Deprecation.warn "This database tasks were deprecated, because this tasks should be served by the 3rd party adapter." @configuration = configuration end |