소스 검색

Added support for Redshift

Andrew 9 년 전
부모
커밋
1e072a1a2e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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