lib/rom/sql/gateway.rb in rom-sql-1.2.1 vs lib/rom/sql/gateway.rb in rom-sql-1.2.2
- old
+ new
@@ -21,9 +21,11 @@
# FIXME: get rid of this and figure out a nicer way of handling migration DSL
# we want to have global access ONLY when running migration tasks
attr_accessor :instance
end
+ adapter :sql
+
CONNECTION_EXTENSIONS = {
postgres: %i(pg_array pg_json pg_enum pg_hstore)
}.freeze
# @!attribute [r] logger