You've already forked AstralRinth
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
16 lines
384 B
JSON
16 lines
384 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n UPDATE reports\n SET user_id = $1\n WHERE user_id = $2\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Int8",
|
|
"Int8"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "b8c62f703e8460a29a406b4b5a46fd30169f7ce6628f31c6749dada507cdc325"
|
|
}
|