Not a big deal since I usually have DATABASE_URL in .env anyways, but I just noticed in a new project before creating .env that sqlx mig add init failed with
error: The DATABASE_URL environment variable must be set
Which there doesn't seem to be a good reason for.