-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove used feild + add DB ER diagram
- Loading branch information
1 parent
f564f90
commit c28ba77
Showing
6 changed files
with
115 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Projectify Docs | ||
|
||
## DB Schema ER Diagram | ||
|
||
![DB Schema ER Diagram](https://raw.githubusercontent.com/vignesh-gupta/projectify/master/docs/assets/er-diagram.svg) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
|
||
title Project Management System | ||
|
||
projects [icon: briefcase, color: lightblue]{ | ||
id string pk | ||
title string | ||
description string | ||
status string | ||
creatorId string | ||
creatorName string | ||
orgId string | ||
} | ||
|
||
workItems [icon: check-square, color: yellow]{ | ||
id string pk | ||
title string | ||
description string | ||
assigneeId string fk | ||
assignee string | ||
label string | ||
priority string | ||
projectId string fk | ||
status string | ||
} | ||
|
||
users [icon: user, color: green]{ | ||
id string pk | ||
email string | ||
firstName string | ||
imageUrl string | ||
clerkId string | ||
} | ||
|
||
teams [icon: users, color: blue]{ | ||
id string pk | ||
name string | ||
clerkId string | ||
imageUrl string | ||
createdBy string fk | ||
} | ||
|
||
team_memberships [icon: user-check, color: purple]{ | ||
id string pk | ||
teamId string fk | ||
userId string fk | ||
isAdmin boolean | ||
} | ||
|
||
links [icon: link, color: orange]{ | ||
id string pk | ||
title string | ||
url string | ||
icon string | ||
projectId string fk | ||
} | ||
|
||
files [icon: file, color: red]{ | ||
id string pk | ||
title string | ||
storageId string | ||
projectId string fk | ||
type string | ||
} | ||
|
||
messages [icon: message-circle, color: pink]{ | ||
id string pk | ||
content string | ||
projectId string fk | ||
senderId string fk | ||
senderName string | ||
senderImageUrl string | ||
} | ||
// End of tables | ||
// define relationships | ||
projects.orgId > orgs.id | ||
workItems.projectId > projects.id | ||
workItems.assigneeId > users.id | ||
teams.createdBy > users.id | ||
team_memberships.teamId > teams.id | ||
team_memberships.userId > users.id | ||
links.projectId > projects.id | ||
files.projectId > projects.id | ||
messages.projectId > projects.id | ||
messages.senderId > users.id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters