Added connection to PostgreSQL. Am now able to write to the database.
:-)