How can I have the Hangfire database created automatically? I know it will create the schema & tables, but I’d like the database itself to be created if it doesn’t exist. This removes a manual step as part of deployments.
If you are using Entity Framework you can use
Database.Migrate() in your DbContext.