提交 d481e050 编写于 作者: K kennyj

Add deprecation message on Firebird / Sqlserver / Oracle database tasks.

上级 742d0901
......@@ -4,6 +4,7 @@ class FirebirdDatabaseTasks # :nodoc:
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
......
......@@ -4,6 +4,7 @@ class OracleDatabaseTasks # :nodoc:
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
......
......@@ -6,6 +6,7 @@ class SqlserverDatabaseTasks # :nodoc:
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册