Amended psql database