Last active
January 22, 2022 02:24
-
-
Save smoothdvd/d8e09280d84a4d1fe90ef018ad502698 to your computer and use it in GitHub Desktop.
In Strapi headless CMS V4, if you want add some specific type column (such as tstzrange type PostgreSQL offered), you can code like this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"attributes": { | |
"effective_range": { | |
"type": "string", | |
"columnType": { | |
"type": "specificType", | |
"args": [ | |
"tstzrange" | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment