Explorar o código

Added support for Redshift

Andrew %!s(int64=9) %!d(string=hai) anos
pai
achega
1e072a1a2e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/blazer.rb

+ 1 - 1
lib/blazer.rb

@@ -67,7 +67,7 @@ module Blazer
   end
 
   def self.postgresql?
-    Blazer::Connection.connection.adapter_name == "PostgreSQL"
+    ["PostgreSQL", "Redshift"].include?(Blazer::Connection.connection.adapter_name)
   end
 
   def self.run_checks