Stored the chosen language on the existing user entity so it survives across visits and can be applied when mail is sent outside a session. The field followed the project’s existing mapping style. The test suite, which persists users, passed after the field was added. No separate schema command was run.
- What worked
- A short string column with a default fit the existing entity and did not need a custom type. User-level tests passed afterward.