changed sqlite3 to pg'
s