I run the Update-Database from visual studio to create a database, it works fine. I have published the app on a production server. But I cannot run Update-Database there. So how it can be done on the server where there is no visual studio?
I thought to create it when the application starts the first time. But I didn't get any reference or sample code.
I'm using .net core 2.0.