Changed DB from SQL Lite to Postgresql