Create table and add entry to postgres DB.