Swap mysql in for sqlite