* upload images to tasks * dislpay image path as markdown; remove redundant code; add cleanup * support svg * remove unused * copy images into worktree directories * shared * address review * fmt
39 lines
1011 B
JSON
39 lines
1011 B
JSON
{
|
|
"db_name": "SQLite",
|
|
"query": "INSERT INTO task_images (id, task_id, image_id)\n VALUES ($1, $2, $3)\n RETURNING id as \"id!: Uuid\",\n task_id as \"task_id!: Uuid\",\n image_id as \"image_id!: Uuid\", \n created_at as \"created_at!: DateTime<Utc>\"",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id!: Uuid",
|
|
"ordinal": 0,
|
|
"type_info": "Blob"
|
|
},
|
|
{
|
|
"name": "task_id!: Uuid",
|
|
"ordinal": 1,
|
|
"type_info": "Blob"
|
|
},
|
|
{
|
|
"name": "image_id!: Uuid",
|
|
"ordinal": 2,
|
|
"type_info": "Blob"
|
|
},
|
|
{
|
|
"name": "created_at!: DateTime<Utc>",
|
|
"ordinal": 3,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 3
|
|
},
|
|
"nullable": [
|
|
true,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "b68712f3bcf28184ed0497e4d024b914bb01b545bfa627e5f9ba14e1048f4dfd"
|
|
}
|