Skip to content

Commit

Permalink
doc: update db model
Browse files Browse the repository at this point in the history
This change re-generate the current database model.
By: `make build-all`

Signed-off-by: Alejandro Visiedo <[email protected]>
  • Loading branch information
avisiedo authored and frasertweedale committed Jul 29, 2024
1 parent 1c2592f commit 723fad1
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions docs/db-model.puml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ entity "**domains**" {
*""auto_enrollment_enabled"": //boolean //
}

entity "**hostconf_jwks**" {
+ ""id"": //serial [PK]//
--
""created_at"": //timestamp without time zone //
""updated_at"": //timestamp without time zone //
""deleted_at"": //timestamp without time zone //
*""key_id"": //character varying(16) //
*""expires_at"": //timestamp without time zone //
*""public_jwk"": //text //
*""encryption_id"": //character varying(16) //
""encrypted_jwk"": //bytea //
}

entity "**ipa_certs**" {
+ ""id"": //serial [PK]//
--
Expand All @@ -33,6 +46,17 @@ entity "**ipa_certs**" {
*""pem"": //text //
}

entity "**ipa_locations**" {
+ ""id"": //serial [PK]//
--
""created_at"": //timestamp without time zone //
""updated_at"": //timestamp without time zone //
""deleted_at"": //timestamp without time zone //
""ipa_id"": //integer [FK]//
*""name"": //character varying(64) //
""description"": //text //
}

entity "**ipa_servers**" {
+ ""id"": //serial [PK]//
--
Expand All @@ -41,15 +65,16 @@ entity "**ipa_servers**" {
""deleted_at"": //timestamp without time zone //
""ipa_id"": //integer [FK]//
*""fqdn"": //character varying(253) //
*""rhsm_id"": //character varying(64) //
""rhsm_id"": //character varying(64) //
""location"": //character varying(63) //
*""ca_server"": //boolean //
*""hcc_enrollment_server"": //boolean //
*""hcc_update_server"": //boolean //
*""pk_init_server"": //boolean //
}

entity "**ipas**" {
+ ""id"": //serial [PK][FK]//
+ ""id"": //integer [PK][FK]//
--
""created_at"": //timestamp without time zone //
""updated_at"": //timestamp without time zone //
Expand All @@ -66,6 +91,8 @@ entity "**schema_migrations**" {

"**ipa_certs**" }-- "**ipas**"

"**ipa_locations**" }-- "**ipas**"

"**ipa_servers**" }-- "**ipas**"

"**ipas**" ||-|| "**domains**"
Expand Down

0 comments on commit 723fad1

Please sign in to comment.