Implement use of BIGINTs in mysql & sqlite