lib/killbill/migration.rb in killbill-7.0.5 vs lib/killbill/migration.rb in killbill-7.0.6
- old
+ new
@@ -1,11 +1,22 @@
require 'logger'
require 'active_record'
require 'arjdbc'
-require 'jdbc/mariadb'
-Jdbc::MariaDB.load_driver
+begin
+ require 'jdbc/mariadb'
+ Jdbc::MariaDB.load_driver
+rescue LoadError
+# ignored
+end
+
+begin
+ require 'jdbc/postgres'
+ Jdbc::Postgres.load_driver
+rescue LoadError
+# ignored
+end
module Killbill
class Migration
class << self