Add database script to repository