Data model

"PROFILE" {
  shape: sql_table
  "id": UUID {constraint: primary_key}
  "additional_first_names": ARRAY 
  "address": JSONB 
  "birth_date": DATE 
  "birth_name": VARCHAR 
  "consents": JSONB 
  "email": VARCHAR 
  "first_name": VARCHAR 
  "gender": VARCHAR(30) 
  "last_name": VARCHAR 
  "phone_number": VARCHAR 
  "place_of_birth": JSONB 
  "preferred_language": VARCHAR(2) 
}
"USER_PROFILE_MAPPING" {
  shape: sql_table
  "id": UUID {constraint: primary_key}
  "app_name": VARCHAR(255) 
  "profile_id": UUID 
  "user_id": VARCHAR 
}
"PROFILE"."id" -> "USER_PROFILE_MAPPING"."profile_id": {
  source-arrowhead.shape: cf-one-required
  target-arrowhead.shape: cf-many
}
Hold "Alt" / "Option" to enable pan & zoom