Support NullDB adapter (used in Docker packaging) in DBPreflightCheck initializer

This commit is contained in:
Ryan Lue 2019-07-12 16:33:31 +08:00 committed by Thorsten Eckel
parent d8242181a4
commit 3f20b05469
2 changed files with 13 additions and 0 deletions

View file

@ -1,6 +1,7 @@
require 'zammad/application/initializer/db_preflight_check/base'
require 'zammad/application/initializer/db_preflight_check/mysql2'
require 'zammad/application/initializer/db_preflight_check/postgresql'
require 'zammad/application/initializer/db_preflight_check/nulldb'
module Zammad
class Application

View file

@ -0,0 +1,12 @@
module Zammad
class Application
class Initializer
module DBPreflightCheck
module Nulldb
# no-op
def self.perform; end
end
end
end
end
end