initial database migration and deployment script