mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 04:15:41 +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.