lib/sequel/postgres/schemata.rb in sequel-postgres-schemata-0.0.2 vs lib/sequel/postgres/schemata.rb in sequel-postgres-schemata-0.0.3

- old
+ new

@@ -39,9 +39,10 @@ self << "SET search_path = #{search_path.map{|s| "\"#{s.to_s.gsub('"', '""')}\""}.join(',')}" end # Returns the current schemata, as returned by current_schemas(false). def current_schemata + extension :pg_array metadata_dataset.select(Sequel::function(:current_schemas, false). cast('varchar[]')).single_value.map(&:to_sym) end # Renames a schema