Table: addresses
updated_at (descending)
Total: 40 records
Loading relationships diagram...
| Column | Value |
|---|
| Column | Type | Nullable | Default | Primary Key |
|---|---|---|---|---|
| id | integer | No | NULL |
Yes |
| customer_id | integer | No | NULL |
No |
| address_type | string | Yes | NULL |
No |
| street | string | Yes | NULL |
No |
| city | string | Yes | NULL |
No |
| state | string | Yes | NULL |
No |
| zip_code | string | Yes | NULL |
No |
| country | string | Yes | NULL |
No |
| default | boolean | Yes | false |
No |
| created_at | datetime | No | NULL |
No |
| updated_at | datetime | No | NULL |
No |
| Name | Columns | Unique |
|---|---|---|
| index_addresses_on_address_type | address_type | No |
| index_addresses_on_customer_id | customer_id | No |
| index_addresses_on_customer_id_and_address_type | customer_id, address_type | No |
| Name | From Column | To Table | To Column |
|---|---|---|---|
| fk_rails_d5f9efddd3 | customer_id | customers | id |
Are you sure you want to delete this record from addresses?