Database related scripts for main DB (PostgreSQL)