Allow long user agent strings

Copied this from BC and HEY which also use a string with a 4096 character length

See: https://app.fizzy.do/5986089/cards/3066
This commit is contained in:
Stanko K.R.
2025-11-25 12:09:02 +01:00
parent 01dc7c1ce0
commit cc49a1b772
2 changed files with 9 additions and 3 deletions
@@ -0,0 +1,6 @@
class IncreaseUserAgentLength < ActiveRecord::Migration[8.2]
def change
change_column :sessions, :user_agent, :string, limit: 4096
change_column :push_subscriptions, :user_agent, :string, limit: 4096
end
end