Skip to content

Commit

Permalink
feat: add lot 5 (linked) (#1336)
Browse files Browse the repository at this point in the history
Co-authored-by: Victor <[email protected]>
  • Loading branch information
Viczei and Victor authored Mar 27, 2024
1 parent 8ccaf42 commit e6bcc00
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
update documents
set initial_id = a.id
from contribution.answers a
inner join contribution.questions q on q.id = a.question_id
where documents."source" = 'contributions'
and a.agreement_id = coalesce(documents."document"->'answers'->'conventionAnswer'->>'idcc', '0000')
and q."content" = documents."title"
and q.order in (11, 12, 14, 15, 16, 18, 38, 47, 48, 55);

0 comments on commit e6bcc00

Please sign in to comment.