Skip to content

Commit

Permalink
PERA-1348 :: Update hd_keys table schema after Bruno's feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltchuang committed Dec 31, 2024
1 parent 4bda89a commit c63256b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,30 @@ title: AddressDatabase
---
erDiagram
algo_25 {
string encrypted_address PK
string encrypted_secret_key
String encrypted_address PK
String encrypted_secret_key
}
ledger_ble {
string encrypted_address PK
string device_mac_address
int account_index_in_ledger
string bluetooth_name
String encrypted_address PK
String device_mac_address
Int account_index_in_ledger
String bluetooth_name
}
no_auth {
string encrypted_address PK
String encrypted_address PK
}
bip_39 {
string encrypted_address PK
String encrypted_seed
string encrypted_secret_key
int account
int change
int keyIndex
string derivationType
hd_seeds {
Int seed_id PK
ByteArray encrypted_seed
String seed_custom_name
}
hd_keys {
ByteArray public_key PK
Int seed_id FK
Int account
Int change
Int key_index
Enum derivation_type
}
hd_keys ||--o{ hd_seeds : has
```
Binary file modified mermaid/database_address.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 c63256b

Please sign in to comment.