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.
27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "WITH object AS (\n INSERT INTO file_objects (\n storage_backend, object_key, mime_type, size_bytes,\n content_manifest_sha256, metadata, validated_at\n )\n VALUES ('local', 'cleanup-room-cover', 'image/png', 1,\n repeat('a', 64), '{}'::JSONB, CURRENT_TIMESTAMP)\n )\n INSERT INTO file_references (\n storage_backend, object_key, reference_kind, reference_id, metadata\n )\n VALUES ('local', 'cleanup-room-cover', 'room_cover', 'cleanup-room', '{}'::JSONB)\n RETURNING id",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Int8",
|
|
"origin": {
|
|
"Table": {
|
|
"table": "file_references",
|
|
"name": "id"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": []
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "e009c0ac89dca8877fac4f3a2ef9bbf98cfa80eaf86db726a36e88e64a68b157"
|
|
}
|