lib/active_graph/migrations/schema.rb in activegraph-10.0.0.pre.beta.7 vs lib/active_graph/migrations/schema.rb in activegraph-10.0.0.pre.beta.8
- old
+ new
@@ -17,10 +17,10 @@
end
private
def fetch_constraint_descriptions
- ActiveGraph::Base.query('CALL db.constraints()').map(&:description)
+ ActiveGraph::Base.query('CALL db.constraints() YIELD description').map(&:first)
end
def fetch_index_descriptions
result = ActiveGraph::Base.query('CALL db.indexes()')
if result.keys.include?(:description)