Changes sqlite db to postgresql