fix creating new shards on rails 3
fix creating new shards on rails 3

fixes CNVS-14789

switchman does the whole shebang in a transaction, so slave
won't even have the tables yet

Change-Id: I009b0602647a34f1d5088bb64627466506bdffe5
Reviewed-on: https://gerrit.instructure.com/39310
Reviewed-by: Brian Palmer <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@instructure.com>
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Product-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
QA-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>

SwinburneOnline/canvas-lms,djbender/canvas-lms,roxolan/canvas-lms,va7map/canvas-lms,fronteerio/canvas-lms,sdeleon28/canvas-lms,fronteerio/canvas-lms,djbender/canvas-lms,samuels410/greatlakes-lms,sdeleon28/canvas-lms,jay3126/canvas-lms,efrj/canvas-lms,antoniuslin/canvas-lms,samuels410/greatlakes-lms,va7map/canvas-lms,Jyaasa/canvas-lms,eCNAP/CANVAS,Rvor/canvas-lms,narigone/canvas,shidao-fm/canvas-lms,instructure/canvas-lms,redconfetti/canvas-lms,wrdsb/canvas-lms,HotChalk/canvas-lms,skmezanul/canvas-lms,redconfetti/canvas-lms,Rvor/canvas-lms,Jyaasa/canvas-lms,sfu/canvas-lms,leftplusrightllc/canvas-lms,skmezanul/canvas-lms,venturehive/canvas-lms,sdeleon28/canvas-lms,wye0220/shindig-canvas,tgroshon/canvas-lms,wye0220/shindig-canvas,djbender/canvas-lms,grahamb/canvas-lms,matematikk-mooc/canvas-lms,Jyaasa/canvas-lms,gbleydon/canvas-lms,wrdsb/canvas-lms,samuels410/greatlakes-lms,AndranikMarkosyan/lms,tgroshon/canvas-lms,wrdsb/canvas-lms,venturehive/canvas-lms,utkarshx/canvas-lms,utkarshx/canvas-lms,sfu/canvas-lms,eCNAP/CANVAS,wye0220/shindig-canvas,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,wrdsb/canvas-lms,dgynn/canvas-lms,jay3126/canvas-lms,dgynn/canvas-lms,juoni/canvas-lms,greyhwndz/canvas-lms,Rvor/canvas-lms,matematikk-mooc/canvas-lms,venturehive/canvas-lms,dgynn/canvas-lms,jay3126/canvas-lms,AndranikMarkosyan/lms,redconfetti/canvas-lms,utkarshx/canvas-lms,gbleydon/canvas-lms,HotChalk/canvas-lms,antoniuslin/canvas-lms,snehakachroo1/LSI_replica,grahamb/canvas-lms,redconfetti/canvas-lms,juoni/canvas-lms,efrj/canvas-lms,matematikk-mooc/canvas-lms,instructure/canvas-lms,efrj/canvas-lms,shidao-fm/canvas-lms,greyhwndz/canvas-lms,antoniuslin/canvas-lms,juoni/canvas-lms,fronteerio/canvas-lms,grahamb/canvas-lms,instructure/canvas-lms,kyroskoh/canvas-lms,narigone/canvas,snehakachroo1/LSI_replica,greyhwndz/canvas-lms,SwinburneOnline/canvas-lms,snehakachroo1/LSI_replica,kyroskoh/canvas-lms,whalejasmine/canvas-lms,sfu/canvas-lms,eCNAP/CANVAS,leftplusrightllc/canvas-lms,instructure/canvas-lms,snehakachroo1/LSI_replica,jay3126/canvas-lms,Rvor/canvas-lms,efrj/canvas-lms,sfu/canvas-lms,shidao-fm/canvas-lms,roxolan/canvas-lms,whalejasmine/canvas-lms,tgroshon/canvas-lms,venturehive/canvas-lms,narigone/canvas,tgroshon/canvas-lms,va7map/canvas-lms,sdeleon28/canvas-lms,leftplusrightllc/canvas-lms,instructure/canvas-lms,juoni/canvas-lms,samuels410/greatlakes-lms,instructure/canvas-lms,kyroskoh/canvas-lms,HotChalk/canvas-lms,grahamb/canvas-lms,matematikk-mooc/canvas-lms,kyroskoh/canvas-lms,roxolan/canvas-lms,AndranikMarkosyan/lms,eCNAP/CANVAS,antoniuslin/canvas-lms,sfu/canvas-lms,whalejasmine/canvas-lms,utkarshx/canvas-lms,SwinburneOnline/canvas-lms,Jyaasa/canvas-lms,whalejasmine/canvas-lms,instructure/canvas-lms,va7map/canvas-lms,gbleydon/canvas-lms,AndranikMarkosyan/lms,narigone/canvas,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,ShreniiNepal/shrenii_lmp,greyhwndz/canvas-lms,ShreniiNepal/shrenii_lmp,djbender/canvas-lms,ShreniiNepal/shrenii_lmp,HotChalk/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,leftplusrightllc/canvas-lms,roxolan/canvas-lms,shidao-fm/canvas-lms,skmezanul/canvas-lms,skmezanul/canvas-lms,dgynn/canvas-lms