What's the best approach to create a database in EF core programmatically and then run the migrations to make sure the new database has all database objects?
We're building a SaaS based application where subscribers can signup on the website themselves and when they signup providing correct payment details, the application needs to create a new database (in SQL Azure) for the subscriber automatically and execute all migrations on the new database.
I have looked at this question here: auto create database in Entity Framework Core It does not give details on the following: 1) how to specify the name of the new database 2) create a new database login 3) add that new database login to the database as a user with dbo permissions