From fc0f1f69b9ad32b9e989684771ad77adffe0d6b1 Mon Sep 17 00:00:00 2001 From: Nilesh Bamne <nilesh.bamne@ayanworks.com> Date: Thu, 10 Mar 2022 19:35:24 +0530 Subject: [PATCH] Updated ER Diagram. --- .gitignore | 1 + aw-design-diagram/er-diagram.md | 44 +++++++++++++++++++-------------- 2 files changed, 27 insertions(+), 18 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/aw-design-diagram/er-diagram.md b/aw-design-diagram/er-diagram.md index 95966f9..f89f35a 100644 --- a/aw-design-diagram/er-diagram.md +++ b/aw-design-diagram/er-diagram.md @@ -11,9 +11,11 @@ Participant ||--o{ Connection : Has Proof }o--|| Connection : Requests - Agent ||--|| Participant : Has + Agent }o--|| Participant : Has - Agent ||--|| Ledger : Has + Agent ||--|{ Ledger : Has + + User }|--|| Participant : Has OTP ||--|| Participant : Sends-Email-OTP Contact ||--|| Participant : Checks-Verified-Email @@ -29,14 +31,6 @@ DateTime updated_date } - Ledger { - uuid id - string network - Blob genesis_file - DateTime created_date - DateTime updated_date - } - OTP { uuid id string otp @@ -58,30 +52,44 @@ string email string password string name - string isin_number - string industry_type - DateTime incorporation_date string address - string location - string website_url - string agent_id + string website + DateTime created_date + uuid created_by + DateTime updated_date + uuid updated_by + } + + User { + uuid id + string username + string password + Role role DateTime created_date DateTime updated_date } Agent { uuid id + uuid participant_id string agent_url string invitation_url string public_did - string ledger_id string wallet_name - string wallet_pin string status DateTime created_date DateTime updated_date } + Ledger { + uuid id + uuid agent_id + string network + Blob genesis_file + DateTime created_date + DateTime updated_date + } + Schema { uuid id string schemaID -- GitLab