PostgresError: duplicate key value violates unique constraint "environments_name_project_id_unique"
Should check for existing environments before trying to add an environment.
Should result in a 400 error if an environment with the same name exists in the project.