mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
* draft: rejected projects go to ghost on delete * don't free slug * fix sqlx * free slugs but different * add auto reject for processing items given to ghost, as well as send thread messages with a little info on who it came from
24 lines
668 B
JSON
24 lines
668 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT EXISTS(\n SELECT 1 FROM mods\n WHERE\n (slug = LOWER($1) OR text_id_lower = LOWER($1))\n AND id != $2\n ) AS \"exists!\"\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "exists!",
|
|
"type_info": "Bool"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Text",
|
|
"Int8"
|
|
]
|
|
},
|
|
"nullable": [
|
|
null
|
|
]
|
|
},
|
|
"hash": "ff9139f6a7a23e2f25f960f81726085938a42d6506dac1cfdd141ab143d1d28f"
|
|
}
|