likwid/backend/.sqlx/query-a65fb2ba103206d6ad4c761ec1fb62638fc50474679c751183013efc7cb0edbd.json

19 lines
578 B
JSON
Raw Permalink Normal View History

{
"db_name": "PostgreSQL",
"query": "INSERT INTO user_roles (user_id, role_id, community_id, granted_by, expires_at)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (user_id, role_id, community_id) DO UPDATE SET\n granted_by = $4, expires_at = $5, granted_at = NOW()",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid",
"Uuid",
"Uuid",
"Uuid",
"Timestamptz"
]
},
"nullable": []
},
"hash": "a65fb2ba103206d6ad4c761ec1fb62638fc50474679c751183013efc7cb0edbd"
}