Adding env() function
Set env() from --env parameter
Now stores one migration history per environment