You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the connection_string with the connection string for your SQL server.
You need to navigate to the root folder i.e. "modular-monolith-with-ddd" in the command prompt and execute the command.
For Example, for me it was like below in command prompt. The command basically execute the build.ps1 powershell script.
Hello,
I suggest updating the README file. The following command worked for me:
.\build MigrateDatabase -DatabaseConnectionString "connection_string"
To answer OP:
Open powershell in the root folder where build.ps1 file is and run the command. Replace "connecton_string" with your actual connection string. You can copy it from SQL Server manager under database properties. I removed all the parameters except Initial Catalog to remove any conflicts for a start.
The readme has this:
Run database migrations using MigrateDatabase NUKE target:
.\build MigrateDatabase "connection_string"
How does one run this command?
The text was updated successfully, but these errors were encountered: