Unverified Commit 407166a9 authored by Vadim Ippolitov's avatar Vadim Ippolitov Committed by GitHub
Browse files

Change type of field SearchBlob.id to String (#940)



Fixes #936

Co-authored-by: default avatarИпполитов Вадим Дмитриевич <vippolitov@poidem.ru>
parent 2d2fe244
...@@ -7,7 +7,7 @@ public class SearchBlob { ...@@ -7,7 +7,7 @@ public class SearchBlob {
private String basename; private String basename;
private String data; private String data;
private String filename; private String filename;
private Long id; private String id;
private String ref; private String ref;
private Integer startline; private Integer startline;
private Long projectId; private Long projectId;
...@@ -36,11 +36,11 @@ public class SearchBlob { ...@@ -36,11 +36,11 @@ public class SearchBlob {
this.filename = filename; this.filename = filename;
} }
public Long getId() { public String getId() {
return id; return id;
} }
public void setId(Long id) { public void setId(String id) {
this.id = id; this.id = id;
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"basename": "home", "basename": "home",
"data": "hello\n\nand bye\n\nend", "data": "hello\n\nand bye\n\nend",
"filename": "home.md", "filename": "home.md",
"id": 123, "id": "a0b24fa71d6d8cef7393e877c608496f91ded0f6",
"ref": "master", "ref": "master",
"startline": 5, "startline": 5,
"project_id": 6 "project_id": 6
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment