lib/persevere_adapter.rb in dm-persevere-adapter-0.46.0 vs lib/persevere_adapter.rb in dm-persevere-adapter-0.46.1

- old
+ new

@@ -451,10 +451,10 @@ end result = @persevere.retrieve(path) if result.code == "200" schemas = [JSON.parse(result.body)].flatten.select{ |schema| not RESERVED_CLASSNAMES.include?(schema['id']) } schemas.each do |schema| - schema['properties']['id'] = { 'type' => "string", 'index' => true } + schema['properties']['id'] = { 'type' => "serial", 'index' => true } end return name.nil? ? schemas : schemas[0..0] else return false end \ No newline at end of file