address

0 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
address_id SMALLINT UNSIGNED 5 √ null
customer.address_id fk_customer_addressR
staff.address_id fk_staff_addressR
store.address_id fk_store_addressR
address VARCHAR 50 null
address2 VARCHAR 50 √ null
district VARCHAR 20 null
city_id SMALLINT UNSIGNED 5 null
city.city_id fk_address_cityR
postal_code VARCHAR 10 √ null
phone VARCHAR 20 null
location GEOMETRY 65535 null
last_update TIMESTAMP 26 CURRENT_TIMESTAMP

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc address_id
idx_fk_city_id Performance Asc city_id
idx_location Performance Asc location
idx_postal_code Performance Asc postal_code

Relationships