Swapped sqlite3 out for PostgreSQL