adding environment variable to database
modify migrations to better support different environemnts