fix a content migration error
fix a content migration error

This query was referencing an ambiguous column (in postgres at least)

Change-Id: Ic249b3641396aeed385f4cb648ac2c7eb2d7aa4f
Reviewed-on: https://gerrit.instructure.com/5379
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Bracken Mosbacker <48b846001bca4166dc3fb7711563afc17525921e@instructure.com>
Reviewed-by: Brian Palmer <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@instructure.com>

roxolan/canvas-lms,va7map/canvas-lms,gbleydon/canvas-lms,skmezanul/canvas-lms,arrivu/jigsaw-lms,ankithbti/canvas_lms,whalejasmine/canvas-lms,loganrun/pincan,efrj/canvas-lms,matematikk-mooc/canvas-lms,ShreniiNepal/shrenii_lmp,SwinburneOnline/canvas-lms,whalejasmine/canvas-lms,tgroshon/canvas-lms,wrdsb/canvas-lms,greyhwndz/canvas-lms,arrivu/hoodemo,sfu/canvas-lms,usmschuck/canvas,ShreniiNepal/shrenii_lmp,redconfetti/canvas-lms,Unow/ins,utkarshx/canvas-lms,va7map/canvas-lms,Unow/ins,arrivu/jigsaw-lms,faraazkhan/canvas,ShreniiNepal/shrenii_lmp,Rvor/canvas-lms,sdeleon28/canvas-lms,matematikk-mooc/canvas-lms,arrivu/hiring-site,djbender/canvas-lms,djbender/canvas-lms,tgroshon/canvas-lms,arrivu/qibla-ecampus,Rvor/canvas-lms,arrivu/hoodemo,HotChalk/canvas-lms,merichar/canvas-lms,utkarshx/canvas-lms,sfu/canvas-lms,dgynn/canvas-lms,rup/Tarrax,wrdsb/canvas-lms,efrj/canvas-lms,antoniuslin/canvas-lms,nditech/red-innovadores-lms,efrj/canvas-lms,djbender/canvas-lms,whalejasmine/canvas-lms,skmezanul/canvas-lms,narigone/canvas,parbros/red-innovadores-lms,rup/Tarrax,grahamb/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,skmezanul/canvas-lms,ShreniiNepal/shrenii_lmp,arrivu/arrivu-lms,instructure/canvas-lms,arrivu/hiring-site,sli7246/canvas_branch,grahamb/canvas-lms,arrivu/hoodemo,ankithbti/canvas_lms,samuels410/greatlakes-lms,arrivu/hiring-site,Jyaasa/canvas-lms,jay3126/canvas-lms,narigone/canvas,leftplusrightllc/canvas-lms,wye0220/shindig-canvas,narigone/canvas,wye0220/shindig-canvas,arrivu/qibla-ecampus,leftplusrightllc/canvas-lms,em2/canvas-lms,instructure/canvas-lms,djbender/canvas-lms,whalejasmine/canvas-lms,jay3126/canvas-lms,snehakachroo1/LSI_replica,shidao-fm/canvas-lms,Jyaasa/canvas-lms,fronteerio/canvas-lms,rup/Tarrax,kyroskoh/canvas-lms,venturehive/canvas-lms,em2/canvas-lms,skmezanul/canvas-lms,usmschuck/canvas,efrj/canvas-lms,usmschuck/canvas,instructure/canvas-lms,greyhwndz/canvas-lms,snehakachroo1/LSI_replica,icelab/canvas,AndranikMarkosyan/lms,HotChalk/canvas-lms,leftplusrightllc/canvas-lms,wye0220/shindig-canvas,Unow/canvas-lms,sfu/canvas-lms,AndranikMarkosyan/lms,eCNAP/CANVAS,faraazkhan/canvas,wimemx/Canvas,shidao-fm/canvas-lms,samuels410/greatlakes-lms,jay3126/canvas-lms,va7map/canvas-lms,redconfetti/canvas-lms,SwinburneOnline/canvas-lms,sli7246/canvas_branch,faraazkhan/canvas,samuels410/greatlakes-lms,eCNAP/CANVAS,HotChalk/canvas-lms,loganrun/pincan,redconfetti/canvas-lms,tgroshon/canvas-lms,shidao-fm/canvas-lms,kyroskoh/canvas-lms,juoni/canvas-lms,icelab/canvas,wrdsb/canvas-lms,fronteerio/canvas-lms,Unow/canvas-lms,merichar/canvas-lms,ankithbti/canvas_lms,eCNAP/CANVAS,juoni/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,fronteerio/canvas-lms,kyroskoh/canvas-lms,arrivu/qibla-ecampus,nditech/red-innovadores-lms,AndranikMarkosyan/lms,loganrun/pincan,fronteerio/canvas-lms,gbleydon/canvas-lms,dgynn/canvas-lms,utkarshx/canvas-lms,roxolan/canvas-lms,antoniuslin/canvas-lms,jay3126/canvas-lms,arrivu/arrivu-lms,sdeleon28/canvas-lms,nditech/red-innovadores-lms,sli7246/canvas_branch,greyhwndz/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,merichar/canvas-lms,kyroskoh/canvas-lms,usmschuck/canvas,nditech/red-innovadores-lms,Rvor/canvas-lms,snehakachroo1/LSI_replica,sdeleon28/canvas-lms,instructure/canvas-lms,matematikk-mooc/canvas-lms,HotChalk/canvas-lms,venturehive/canvas-lms,wimemx/Canvas,Rvor/canvas-lms,landonwilkins/canvas-lms,matematikk-mooc/canvas-lms,parbros/red-innovadores-lms,ottenhoff/canvas-lms,em2/canvas-lms,samuels410/greatlakes-lms,greyhwndz/canvas-lms,SwinburneOnline/canvas-lms,Jyaasa/canvas-lms,Unow/ins,snehakachroo1/LSI_replica,tgroshon/canvas-lms,SwinburneOnline/canvas-lms,sfu/canvas-lms,redconfetti/canvas-lms,sdeleon28/canvas-lms,landonwilkins/canvas-lms,roxolan/canvas-lms,wimemx/Canvas,sfu/canvas-lms,utkarshx/canvas-lms,va7map/canvas-lms,Jyaasa/canvas-lms,ottenhoff/canvas-lms,AndranikMarkosyan/lms,ottenhoff/canvas-lms,antoniuslin/canvas-lms,narigone/canvas,Unow/canvas-lms,roxolan/canvas-lms,landonwilkins/canvas-lms,dgynn/canvas-lms,antoniuslin/canvas-lms,instructure/canvas-lms,arrivu/arrivu-lms,arrivu/jigsaw-lms,landonwilkins/canvas-lms,wrdsb/canvas-lms,eCNAP/CANVAS,icelab/canvas,parbros/red-innovadores-lms,leftplusrightllc/canvas-lms,venturehive/canvas-lms,sfu/canvas-lms,gbleydon/canvas-lms,shidao-fm/canvas-lms,dgynn/canvas-lms,grahamb/canvas-lms,juoni/canvas-lms,juoni/canvas-lms