mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 01:47:42 +08:00

Add a new column - `user_agent` - to the `SearchLog` table. This column can be null as we are only allowing a the user-agent string to have a max length of 2000 characters. In the case the user-agent string surpasses the max characters allowed, we simply nullify the value, and save/write the log as normal.