Database migrations are run on the background server, not the web server, in staging and production environments.