mirror of https://github.com/synctv-org/synctv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n INSERT INTO file_references (\n storage_backend, object_key, reference_kind, reference_id, expires_at, metadata\n )\n VALUES ($1, $2, $3, $4, $5, $6)\n ON CONFLICT (reference_kind, reference_id, storage_backend, object_key)\n DO UPDATE SET\n expires_at = EXCLUDED.expires_at,\n released_at = NULL,\n metadata = EXCLUDED.metadata,\n updated_at = CURRENT_TIMESTAMP\n RETURNING id\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Int8",
|
|
"origin": {
|
|
"Table": {
|
|
"table": "file_references",
|
|
"name": "id"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Text",
|
|
"Text",
|
|
"Text",
|
|
"Text",
|
|
"Timestamptz",
|
|
"Jsonb"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "d7bebcb24a22a8979d00fdc50b68076666d88eef12781e41f9cdc242fef4c2cb"
|
|
}
|