mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 03:57:24 +08:00

The `add_column` `limit` parameter has no effect on a postgres `text` column. Instead we can perform the check in ActiveRecord. We never expect this condition to be hit - users cannot control this value. It's just a safety net.