Shopware 6.7.8.0 country_state
States/regions/provinces within a country (e.g. US states, German Bundesländer).
| Column | Type | Nullable | Additional |
| id | binary(16) | NO | Primary Key |
| country_id | binary(16) | NO | Index
Foreign Key → country.id |
| short_code | varchar(255) | NO | |
| position | int | NO | Default: 1 |
| active | tinyint(1) | NO | Default: 1 |
| created_at | datetime(3) | NO | |
| updated_at | datetime(3) | YES | |
| Index Name | Columns | Unique |
| fk.country_state.country_id | country_id | No |
| PRIMARY | id | Yes |
Relations (from this table)
1 relations
| Local Field | Foreign Table | Foreign Field |
| country_id | country | id |
Relations (to this table)
3 relations