Use lib/db for migrations.
Simplify rate limit violation responses.