adding in database script for postgres