forked from didirus/AstralRinth
* Fix error when trying to delete user with uploaded images
`{"error":"database_error","description":"Database Error: Error while interacting with the database: error returned from database: update or delete on table \"users\" violates foreign key constraint \"uploaded_images_owner_id_fkey\" on table \"uploaded_images\""}`
* Update certain things to use Ghost instead of deleting entirely
* Fix mistake
15 lines
340 B
JSON
15 lines
340 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n DELETE FROM reports\n WHERE reporter = $1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Int8"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "4a28872d188834822be5df7be5d023ba6425bda15bf568eebbd8175912eb5700"
|
|
}
|