Skip to content

Commit

Permalink
#2020 add and remove columns
Browse files Browse the repository at this point in the history
# Conflicts:
#	apps/cli/src/backup/projects/export/queries.ts
  • Loading branch information
grindarius committed Jun 12, 2024
1 parent 7108757 commit 782530a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/cli/src/backup/projects/export/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ export const RFM_MODELS = `
`

export const RFM_CLASSIFICATIONS = `
select cr.classification_result_id, m.model_id, cr.recording_id, cr.species_id, cr.songtype_id, st.songtype, cr.present
select cr.classification_result_id, m.model_id, m.name as model_name, cr.recording_id, cr.species_id, sp.name as species_name, cr.songtype_id, st.songtype, cr.present
from classification_results cr
join job_params_classification jpc on cr.job_id = jpc.job_id
join models m on jpc.model_id = m.model_id
join songtypes st on cr.songtype_id = st.songtype_id
join species sp on cr.species_id = sp.species_id
where m.model_type_id = 4 and m.project_id = $projectId
`

0 comments on commit 782530a

Please sign in to comment.