Changed DB from SQlite to PG