blog/backend/.sqlx/query-9e486528becb873ace62656c78805034ddca950db7306ee04257d6b589b5a0d9.json
SquidSpirit 1ae104cd56
All checks were successful
Frontend CI / build (push) Successful in 1m23s
BLOG-133 Unique label name and semantic ID (#135)
### Description

- It returns status `409 CONFLICT` if there is already a label with same name or a post with same semantic ID.

### Package Changes

_No response_

### Screenshots

_No response_

### Reference

Resolves #133.

### Checklist

- [x] A milestone is set
- [x] The related issuse has been linked to this branch

Reviewed-on: #135
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-10-12 21:16:36 +08:00

21 lines
648 B
JSON

{
"db_name": "PostgreSQL",
"query": "\n UPDATE post\n SET \n semantic_id = $1,\n title = $2, \n description = $3, \n preview_image_url = $4, \n content = $5, \n published_time = $6\n WHERE id = $7\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text",
"Text",
"Text",
"Text",
"Timestamp",
"Int4"
]
},
"nullable": []
},
"hash": "9e486528becb873ace62656c78805034ddca950db7306ee04257d6b589b5a0d9"
}