Fiks: warmup brukte feil kolonnenavn (created_at → edited_at) for revisjoner
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
af74749bed
commit
02add1377e
1 changed files with 2 additions and 2 deletions
|
|
@ -172,10 +172,10 @@ pub async fn run(
|
||||||
SELECT
|
SELECT
|
||||||
mr.message_id::text,
|
mr.message_id::text,
|
||||||
mr.body,
|
mr.body,
|
||||||
mr.created_at::text
|
mr.edited_at::text
|
||||||
FROM message_revisions mr
|
FROM message_revisions mr
|
||||||
WHERE mr.message_id = ANY($1::uuid[])
|
WHERE mr.message_id = ANY($1::uuid[])
|
||||||
ORDER BY mr.created_at DESC
|
ORDER BY mr.edited_at DESC
|
||||||
"#
|
"#
|
||||||
)
|
)
|
||||||
.bind(&msg_ids)
|
.bind(&msg_ids)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue