Skip to content

Commit

Permalink
fixed chain_slug relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
mseidlx committed Feb 23, 2024
1 parent 505e7d4 commit 1a0fa54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_model.dbml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Table Chains {

Table Addresses {
address string [pk]
chain_id int [pk]
chain_slug string [pk]
project_id unknown
category_id string
is_eoa bool
Expand Down Expand Up @@ -119,7 +119,7 @@ Ref: Categories.main_category_id > MainCategories.main_category_id
Ref: Projects.team_id > Team.team_id

// OneToManyAddressesToChains
Ref: Addresses.chain_id > Chains.chain_id
Ref: Addresses.chain_slug > Chains.chain_slug

// OneToManyAddressesToProjects
Ref: Addresses.project_id > Projects.project_id
Expand Down

0 comments on commit 1a0fa54

Please sign in to comment.