How do you setup a definition to have default null value?

System Information
  • Strapi Version: 3.6.2
  • Operating System: Ubuntu 20.04.2 LTS
  • Database: mongo db “version”: “4.4.6”
  • Node Version: v14.17.0
  • NPM Version: 6.14.13
  • Yarn Version: 1.22.5

Hi,
I’m currently using an old version of strapi v3.0.0-alpha.23 and upgrading to the latest v3.6.2 release. However, I noticed that in the latest release, strapi is removing the default: “” from all the models when you add or update content type models. My issue is similar to this issue and I noticed it was closed on Oct 8, 2020, Allow definition of null as default value · Issue #3862 · strapi/strapi · GitHub. Can someone please tell me which release this issue has been addressed? Or is there a workaround to this issue?

Here’s how the attribute looks like in v3.0.0 alpha.23:
“primaryCategory”: {
“default”: “”,
“type”: “json”
},

Here’s what it looks like in v3.6.2:
“primaryCategory”: {
“type”: “json”
},
Even if I add the default: “”, it gets wiped out when I add or update an attribute.

Thanks in advance.

Enrique