mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
Truly testing for JSON validity would require defining a new postgres function. Checking just the first character should take care of all the cases of invalid historic data that we've seen.