mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +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.