Changed DB from SQLite to Postgres