Remove the masking policy API v1/{instance}/{database}/policies/masking. Use v1/{instance}/{database}/metadata instead and set the columnConfigs parameter.
Warning 1): Bytebase does not support in-place downgrade. Make sure to back up your metadata before upgrading. 2) Never run multiple containers on the same data directory. Stop and remove the old one first to avoid corruption.