Shopware 6.4.4.1 state_machine_history
Audit log of all state transitions (who changed what state, when, and via which entity).
| Column | Type | Nullable | Additional |
| id | binary(16) | NO | Primary Key |
| state_machine_id | binary(16) | NO | Index
Foreign Key → state_machine.id |
| entity_name | varchar(100) | NO | |
| entity_id | longtext | NO | |
| from_state_id | binary(16) | NO | Index
Foreign Key → state_machine_state.id |
| to_state_id | binary(16) | NO | Index
Foreign Key → state_machine_state.id |
| action_name | varchar(255) | NO | |
| user_id | binary(16) | YES | Index
Foreign Key → user.id |
| created_at | datetime(3) | NO | |
| updated_at | datetime(3) | YES | |
| Index Name | Columns | Unique |
| fk.state_machine_history.from_state_id | from_state_id | No |
| fk.state_machine_history.state_machine_id | state_machine_id | No |
| fk.state_machine_history.to_state_id | to_state_id | No |
| fk.state_machine_history.user_id | user_id | No |
| PRIMARY | id | Yes |
Relations (from this table)
4 relations