35 lines
819 B
JSON
35 lines
819 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n INSERT INTO auth.api_key (key_hash, name, created_by, scopes)\n VALUES ($1, $2, $3, $4::auth.role[])\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Text",
|
|
"Text",
|
|
"Uuid",
|
|
{
|
|
"Custom": {
|
|
"name": "auth.role[]",
|
|
"kind": {
|
|
"Array": {
|
|
"Custom": {
|
|
"name": "auth.role",
|
|
"kind": {
|
|
"Enum": [
|
|
"user",
|
|
"admin"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "ac5047be40cf3c686d3a3f877fc7af232e6a9e9010c947422f0497ff76b06c58"
|
|
}
|