mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 22:44:10 +08:00

Adds limits to location and website fields at model and DB level to match the bio_raw field limits. A limit cannot be added at the DB level for bio_raw because it is a postgres text field. The migration here uses version `6.1` instead of `7.0` since `stable` is not on that version of rails yet, otherwise this is the same as `beta` apart from also removing the new tests which caused too many conflicts. Co-authored-by: Alan Guo Xiang Tan gxtan1990@gmail.com