Unable to restore/update discourse (PG::InvalidTextRepresentation: ERROR: invalid input syntax for type integer: "[]")

Looks like it may be a :bug:

This looks to me like it’s in core, but the standard question is Do you have any non-standard plugins?