You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/using-gitbase/schema.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,6 +150,21 @@ This table represents the relation between commits and blobs. With this table yo
150
150
151
151
This table represents the relation between commits and trees. With this table you can obtain all the tree entries contained on a commit object.
152
152
153
+
### commit_files
154
+
```sql
155
+
+---------------+------+
156
+
| name | type |
157
+
+---------------+------+
158
+
| repository_id | TEXT |
159
+
| commit_hash | TEXT |
160
+
| file_path | TEXT |
161
+
| blob_hash | TEXT |
162
+
| tree_hash | TEXT |
163
+
+---------------+------+
164
+
```
165
+
166
+
This table represents the relation between commits and [files](#files). Using this table, you can obtain all the files related to a certain commit object.
167
+
153
168
### ref_commits
154
169
```sql
155
170
+---------------+-------+
@@ -250,4 +265,4 @@ blob_hash string FK >- blobs.blob_hash
0 commit comments