diff --git a/architecture-docs/panel-data-model.mmd b/architecture-docs/panel-data-model.mmd new file mode 100644 index 0000000..45f42a7 --- /dev/null +++ b/architecture-docs/panel-data-model.mmd @@ -0,0 +1,24 @@ +--- +title: Data model of sample web application +--- +erDiagram + operator { + string username + string password_hash + } + deployment { + json deployed_configuration + option[string] staged_configuration + option[string] version + } + backup["back-up"] { + string bucket + string endpoint + } + keypair { + string access_key + string secret_key + } + operator ||--o{ deployment : has + deployment ||--o{ backup : has + backup ||--|{ keypair : authorises diff --git a/architecture-docs/panel-data-model.svg b/architecture-docs/panel-data-model.svg new file mode 100644 index 0000000..5e8d048 --- /dev/null +++ b/architecture-docs/panel-data-model.svg @@ -0,0 +1 @@ +operatorstringusernamestringpassword_hashdeploymentjsondeployed_configurationoption[string]staged_configurationoption[string]versionback-upstringbucketstringendpointkeypairstringaccess_keystringsecret_keyhashasauthorisesData model of sample web application \ No newline at end of file