@@ -186,82 +186,7 @@ Commits will be repeated if they are in several repositories or references.
186
186
## Database diagram
187
187
<!--
188
188
189
- repositories as r
190
- -
191
- repository_id string
192
-
193
- remotes
194
- -
195
- repository_id string FK - r.repository_id
196
- remote_name string
197
- remote_push_url string
198
- remote_fetch_url string
199
- remote_push_refspec string
200
- remote_fetch_refspec string
201
-
202
- refs
203
- -
204
- repository_id string FK >- repositories.repository_id
205
- ref_name string
206
- commit_hash string FK >- commits.commit_hash
207
-
208
- commits as c
209
- -
210
- repository_id string FK >- repositories.repository_id
211
- commit_hash string
212
- commit_author_name string
213
- commit_author_email string
214
- commit_author_when timestamp
215
- committer_name string
216
- committer_email string
217
- committer_when timestamp
218
- commit_message string
219
- tree_hash string FK >- tree_entries.tree_hash
220
- commit_parents array[string]
221
-
222
- blobs as b
223
- -
224
- repository_id string FK >- repositories.repository_id
225
- blob_hash string
226
- blob_size number
227
- blob_content blob
228
-
229
- tree_entries as te
230
- -
231
- repository_id string FK >- repositories.repository_id
232
- tree_hash string
233
- blob_hash string FK >- blobs.blob_hash
234
- tree_entry_mode number
235
- tree_entry_name string
236
-
237
- files as f
238
- -
239
- repository_id string FK >- repositories.repository_id
240
- blob_hash string FK >- blobs.blob_hash
241
- file_path string
242
- tree_hash string FK >- tree_entries.tree_hash
243
- tree_entry_mode number
244
- blob_content blob
245
- blob_size number
246
-
247
- ref_commits
248
- -
249
- repository_id string FK >- repositories.repository_id
250
- commit_hash string FK >- commits.commit_hash
251
- ref_name string FK >- refs.ref_name
252
- index number
253
-
254
- commit_trees
255
- -
256
- repository_id string FK >- repositories.repository_id
257
- commit_hash string FK >- commits.commit_hash
258
- tree_hash string FK >- tree_entries.tree_hash
259
-
260
- commit_blobs
261
- -
262
- repository_id string FK >- repositories.repository_id
263
- commit_hash string FK >- commits.commit_hash
264
- blob_hash string FK >- blobs.blob_hash
189
+ Diagram generated with MySQL Workbench. Edit the model in docs/assets/gitbase_model.mwb to generate a new diagram in case it needs some changes.
265
190
266
191
-->
267
192
0 commit comments