ソースを参照

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