DB changed from SQLite3 to postgreSQL