← Shopware 5.7.16

Shopware 5.7.16 s_user_addresses

Unified customer address book (SW 5.2+) — all billing and shipping addresses.

Columns

17 columns

Column Type Nullable Additional
id int(11) NO Primary Key, auto_increment
user_id int(11) NO Index Foreign Key → s_user.id
company varchar(255) YES
department varchar(35) YES
salutation varchar(30) NO
title varchar(100) YES
firstname varchar(50) NO
lastname varchar(60) NO
street varchar(255) YES
zipcode varchar(50) NO
city varchar(70) NO
country_id int(11) NO Index Foreign Key → s_core_countries.id
state_id int(11) YES Index Foreign Key → s_core_countries_states.id
ustid varchar(50) YES
phone varchar(40) YES
additional_address_line1 varchar(255) YES
additional_address_line2 varchar(255) YES

Indexes

4 indexes

Index Name Columns Unique
country_id country_id No
PRIMARY id Yes
state_id state_id No
user_id user_id No

Relations (from this table)

3 relations

Local Field Foreign Table Foreign Field
country_id s_core_countries id
state_id s_core_countries_states id
user_id s_user id

Relations (to this table)

1 relations

Local Field Foreign Table Foreign Field
id s_user_addresses_attributes address_id