FEATURE: mini_sql upgrade

FEATURE: mini_sql upgrade

  • Fixes deprecation regarding usage of BigDecimal in dev
  • Handle edge case where query_hash would clear a non existent result
  • Minor perf improvement to query_single

Most important thing though is that we are now on the latest gem

diff --git a/Gemfile.lock b/Gemfile.lock
index 49c2292..35768be 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -205,7 +205,7 @@ GEM
       libv8 (>= 6.3)
     mini_scheduler (0.9.1)
       sidekiq
-    mini_sql (0.1.10)
+    mini_sql (0.2.1)
     mini_suffix (0.3.0)
       ffi (~> 1.9)
     minitest (5.11.3)
diff --git a/lib/mini_sql_multisite_connection.rb b/lib/mini_sql_multisite_connection.rb
index c628ef6..04fe3e1 100644
--- a/lib/mini_sql_multisite_connection.rb
+++ b/lib/mini_sql_multisite_connection.rb
@@ -1,4 +1,4 @@
-class MiniSqlMultisiteConnection < MiniSql::Connection
+class MiniSqlMultisiteConnection < MiniSql::Postgres::Connection
 
   class CustomBuilder < MiniSql::Builder

GitHub sha: 9faf0581