add foreign keys part 2
add foreign keys part 2

refs CNVS-6202

Change-Id: Ic07c908553932fe453d82e697532f2234e8c2680
Reviewed-on: https://gerrit.instructure.com/11531
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Duane Johnson <0a02221ea64f4c9685145b5f44cf84715b4a8bb5@instructure.com>
Product-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
QA-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>

Rvor/canvas-lms,sdeleon28/canvas-lms,venturehive/canvas-lms,jay3126/canvas-lms,narigone/canvas,Jyaasa/canvas-lms,HotChalk/canvas-lms,ShreniiNepal/shrenii_lmp,matematikk-mooc/canvas-lms,snehakachroo1/LSI_replica,sfu/canvas-lms,efrj/canvas-lms,greyhwndz/canvas-lms,wrdsb/canvas-lms,va7map/canvas-lms,leftplusrightllc/canvas-lms,roxolan/canvas-lms,shidao-fm/canvas-lms,loganrun/pincan,arrivu/hoodemo,arrivu/hoodemo,fronteerio/canvas-lms,snehakachroo1/LSI_replica,HotChalk/canvas-lms,roxolan/canvas-lms,samuels410/greatlakes-lms,efrj/canvas-lms,arrivu/arrivu-lms,eCNAP/CANVAS,merichar/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,utkarshx/canvas-lms,narigone/canvas,eCNAP/CANVAS,arrivu/jigsaw-lms,sfu/canvas-lms,landonwilkins/canvas-lms,shidao-fm/canvas-lms,AndranikMarkosyan/lms,arrivu/qibla-ecampus,leftplusrightllc/canvas-lms,eCNAP/CANVAS,gbleydon/canvas-lms,whalejasmine/canvas-lms,grahamb/canvas-lms,sdeleon28/canvas-lms,greyhwndz/canvas-lms,grahamb/canvas-lms,matematikk-mooc/canvas-lms,Rvor/canvas-lms,matematikk-mooc/canvas-lms,instructure/canvas-lms,sdeleon28/canvas-lms,landonwilkins/canvas-lms,AndranikMarkosyan/lms,tgroshon/canvas-lms,dgynn/canvas-lms,landonwilkins/canvas-lms,landonwilkins/canvas-lms,instructure/canvas-lms,wye0220/shindig-canvas,narigone/canvas,wimemx/Canvas,usmschuck/canvas,jay3126/canvas-lms,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,whalejasmine/canvas-lms,djbender/canvas-lms,tgroshon/canvas-lms,antoniuslin/canvas-lms,arrivu/qibla-ecampus,efrj/canvas-lms,skmezanul/canvas-lms,tgroshon/canvas-lms,venturehive/canvas-lms,eCNAP/CANVAS,juoni/canvas-lms,wimemx/Canvas,redconfetti/canvas-lms,ShreniiNepal/shrenii_lmp,skmezanul/canvas-lms,tgroshon/canvas-lms,instructure/canvas-lms,arrivu/arrivu-lms,wye0220/shindig-canvas,narigone/canvas,sfu/canvas-lms,wye0220/shindig-canvas,grahamb/canvas-lms,snehakachroo1/LSI_replica,va7map/canvas-lms,Rvor/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,venturehive/canvas-lms,Rvor/canvas-lms,loganrun/pincan,leftplusrightllc/canvas-lms,arrivu/jigsaw-lms,skmezanul/canvas-lms,arrivu/qibla-ecampus,antoniuslin/canvas-lms,efrj/canvas-lms,fronteerio/canvas-lms,Unow/canvas-lms,venturehive/canvas-lms,arrivu/arrivu-lms,djbender/canvas-lms,SwinburneOnline/canvas-lms,shidao-fm/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,snehakachroo1/LSI_replica,juoni/canvas-lms,skmezanul/canvas-lms,greyhwndz/canvas-lms,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,dgynn/canvas-lms,whalejasmine/canvas-lms,juoni/canvas-lms,juoni/canvas-lms,gbleydon/canvas-lms,Unow/canvas-lms,greyhwndz/canvas-lms,va7map/canvas-lms,SwinburneOnline/canvas-lms,arrivu/hoodemo,loganrun/pincan,gbleydon/canvas-lms,instructure/canvas-lms,matematikk-mooc/canvas-lms,merichar/canvas-lms,redconfetti/canvas-lms,sdeleon28/canvas-lms,fronteerio/canvas-lms,merichar/canvas-lms,usmschuck/canvas,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,kyroskoh/canvas-lms,samuels410/greatlakes-lms,wrdsb/canvas-lms,Jyaasa/canvas-lms,jay3126/canvas-lms,va7map/canvas-lms,AndranikMarkosyan/lms,kyroskoh/canvas-lms,djbender/canvas-lms,whalejasmine/canvas-lms,Jyaasa/canvas-lms,usmschuck/canvas,antoniuslin/canvas-lms,Unow/canvas-lms,SwinburneOnline/canvas-lms,redconfetti/canvas-lms,HotChalk/canvas-lms,kyroskoh/canvas-lms,leftplusrightllc/canvas-lms,utkarshx/canvas-lms,wimemx/Canvas,samuels410/greatlakes-lms,antoniuslin/canvas-lms,jay3126/canvas-lms,roxolan/canvas-lms,instructure/canvas-lms,grahamb/canvas-lms,Jyaasa/canvas-lms,dgynn/canvas-lms,redconfetti/canvas-lms,wrdsb/canvas-lms,utkarshx/canvas-lms,shidao-fm/canvas-lms,dgynn/canvas-lms,wrdsb/canvas-lms,kyroskoh/canvas-lms,samuels410/greatlakes-lms,usmschuck/canvas,arrivu/jigsaw-lms,roxolan/canvas-lms,utkarshx/canvas-lms,AndranikMarkosyan/lms,HotChalk/canvas-lms