Fix integrity constraint violation on sqlite. If the requestable checkbox was not checked, it did not exist in the request. Setting requestable to null in such a case would cause a violation because it should be 0/1.
Fix integrity constraint violation on sqlite.
If the requestable checkbox was not checked, it did not exist in the request.
Setting requestable to null in such a case would cause a violation because it should be 0/1.

Also fix a copy/paste where we reset requestable after checking for rtd_location_id.

kpawelski/ITManager,dkmansion/snipe-it,snipe/snipe-it,anuj-rajput/snipe-it,ixmid/snipe-it,dmeltzer/snipe-it,snipe/snipe-it,ppavlov28/snipe-it,GeoffYoung/snipe-it,jasonspriggs/snipe-it,jasonspriggs/snipe-it,GeoffYoung/snipe-it,ppavlov28/snipe-it,bytepark/snipe-it,madd15/snipe-it,madd15/snipe-it,uberbrady/snipe-it,dmeltzer/snipe-it,dmeltzer/snipe-it,madd15/snipe-it,uberbrady/snipe-it,uberbrady/snipe-it,GeoffYoung/snipe-it,mtucker6784/snipe-it,mtucker6784/snipe-it,dkmansion/snipe-it,uberbrady/snipe-it,anuj-rajput/snipe-it,ixmid/snipe-it,dkmansion/snipe-it,bytepark/snipe-it,jasonspriggs/snipe-it,bytepark/snipe-it,dmeltzer/snipe-it,tiagom62/snipe-it,mtucker6784/snipe-it,mtucker6784/snipe-it,jasonspriggs/snipe-it,dkmansion/snipe-it,kpawelski/ITManager,kpawelski/ITManager,ppavlov28/snipe-it,tiagom62/snipe-it,mtucker6784/snipe-it,GeoffYoung/snipe-it,snipe/snipe-it,kpawelski/ITManager,ixmid/snipe-it,uberbrady/snipe-it,snipe/snipe-it,tiagom62/snipe-it,madd15/snipe-it,anuj-rajput/snipe-it,ixmid/snipe-it,anuj-rajput/snipe-it,bytepark/snipe-it,tiagom62/snipe-it