Skip to content

Change in database attributes (#6) #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 22 additions & 31 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,48 +252,39 @@ erDiagram
int stars
int forks
}

Topics {
string Topic PK
}

RepositoryTopics {
string RepositoryUrl FK "References Repository"
string Topic FK "References Topics"
string Topic
string Url FK "References Repository"
}

Branch {
string LastCommitSha PK
string Name PK
date Seen
string AiAnalysisSummary
int Fork
date Seen
string Url FK "References Repository"
}

Folder {
int FolderId PK
string Name
string Path "Optional"
string ParentFolderId FK "References Folder"
Code {
string File PK
string Sha PK
string Language
string Data
string AiAnalysisSummary
string BranchSha FK "References Branch"
string BranchName FK "References Branch"
}

File {
int FileID PK
string Name
string Sha
string Language
string Content
string AiAnalysisSummary
int FolderId FK "References Folder"

Function {
string Summary
string Code
string CodeFile FK "References Code"
string CodeSha FK "References Code"
}

Repository ||--o{ Branch : has
Repository ||--o{ RepositoryTopics : has
RepositoryTopics }o--|| Topics : references
Branch ||--o{ Folder : contains
Folder ||--o{ Folder : has_parent
Folder ||--|{ Module : contain
```
Repository ||--o{ Topics : has
Branch ||--|{ Code : contains
Code ||--o{ Function : references
```
Loading