mirror of
https://github.com/penpot/penpot.git
synced 2025-07-18 13:07:14 +02:00
🐛 Fix srepl report query
This commit is contained in:
parent
dbcfb2746f
commit
b05421755f
1 changed files with 3 additions and 3 deletions
|
@ -143,10 +143,10 @@
|
||||||
|
|
||||||
(def ^:private sql:get-files-by-report
|
(def ^:private sql:get-files-by-report
|
||||||
"WITH files AS (
|
"WITH files AS (
|
||||||
SELECT t.id t.features, mr.name
|
SELECT f.id, f.features, mr.label
|
||||||
FROM migration_file_report AS mr
|
FROM migration_file_report AS mr
|
||||||
JOIN file AS t ON (t.id = mr.file_id)
|
JOIN file AS f ON (f.id = mr.file_id)
|
||||||
WHERE t.deleted_at IS NULL
|
WHERE f.deleted_at IS NULL
|
||||||
AND mr.error IS NOT NULL
|
AND mr.error IS NOT NULL
|
||||||
ORDER BY mr.created_at
|
ORDER BY mr.created_at
|
||||||
) SELECT id, features FROM files %(pred)s")
|
) SELECT id, features FROM files %(pred)s")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue