lib/hanami/model/sql/console.rb in hanami-model-1.0.0.beta1 vs lib/hanami/model/sql/console.rb in hanami-model-1.0.0.beta2

- old
+ new

@@ -25,10 +25,10 @@ def console # rubocop:disable Metrics/MethodLength case @uri.scheme when 'sqlite' require 'hanami/model/sql/consoles/sqlite' Sql::Consoles::Sqlite.new(@uri) - when 'postgres' + when 'postgres', 'postgresql' require 'hanami/model/sql/consoles/postgresql' Sql::Consoles::Postgresql.new(@uri) when 'mysql', 'mysql2' require 'hanami/model/sql/consoles/mysql' Sql::Consoles::Mysql.new(@uri)