Finally found the correct way to add specific type column in Strapi V4

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

If you want add some specific type column (such as tstzrange type PostgreSQL offered), you can code like this:

in schema.json

"effective_range": {
  "type": "string",
  "columnType": {
    "type": "specificType",
    "args": [
      "tstzrange"
    ]
  }
}