Skip to content

Commit

Permalink
DB schema diagram update (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
patilsuraj767 authored Apr 30, 2024
1 parent 1de2809 commit 1506f3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/database/db-schema
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Table rh_accounts {
org_id text [not null]
Indexes {
id [pk]
account [unique, type: btree]
org_id [unique, type: btree]
}
}
Expand All @@ -27,6 +26,7 @@ Table clusters {

Table workloads {
id bigint [increment]
org_id text [not null]
cluster_id bigint [ref: > clusters.id]
experiment_name text
namespace text
Expand All @@ -43,6 +43,7 @@ Table workloads {

Table workload_metrics {
id bigint [increment]
org_id text [not null]
workload_id bigint [ref: > workloads.id]
container_name text
interval_start datetime
Expand Down Expand Up @@ -70,6 +71,7 @@ Table recommendation_sets {

Table historical_recommendation_sets {
id uuid [increment]
org_id text [not null]
workload_id bigint [ref: > workloads.id]
container_name text
monitoring_start_time datetime
Expand All @@ -81,4 +83,4 @@ Table historical_recommendation_sets {
workload_id [name: "workloads.id_fkey", type: btree]
(workload_id, container_name, monitoring_end_time) [unique, type: btree]
}
}
}
Binary file modified docs/database/db-schema.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1506f3f

Please sign in to comment.