Scripts for transaction database (PostgreSQL).