Introducing the new Render CLI and refreshed Render Dashboard.
Learn moreRun migrations and other tasks with the pre-deploy command
Set a pre-deploy command for your service to run tasks (such as database migrations or asset uploads) right before a new version of your service goes live.
This command is particularly useful for services that deploy a prebuilt Docker image, because they can't fold these kinds of tasks into the build command.
For details, see the blog post and documentation.