From 9fbc280ff40f6cae985b1ca17233fae48a42a659 Mon Sep 17 00:00:00 2001 From: asofio <34110390+asofio@users.noreply.github.com> Date: Wed, 9 Mar 2022 15:49:49 -0600 Subject: [PATCH] Adjusted verbiage concerning sqlcmd since it is already installed into the codespace. --- docs/local-dev.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/local-dev.md b/docs/local-dev.md index 2984937..31a5d0a 100644 --- a/docs/local-dev.md +++ b/docs/local-dev.md @@ -32,9 +32,9 @@ DAPR_HTTP_PORT=5880 ``` 4. Switch to the Run and Debug screen and debug the Bootstrapper. Upon completion, you should now have a "reddogdemo" database in the given SQL Server instance. ->The Accounting Service within RedDog relies on SQL Server for persistent storage. As such, you will notice that the `.devcontainer` configuration for Codespaces (located withing the `.devcontainer` folder) points at a Docker compose file that includes a container image reference to SQL Server. While the image will be pulled into your Codespace for you, the database itself will still need to be provisioned. Included in the Reddog repo is an EF Core migration that can be run to provision the database. This migration functionality is located within Reddog.Bootstrapper. (If you would like to connect to the SQL Server instance and verify the migration, it is easiest to connect via `sqlcmd` in the VS Code terminal. [Installation instructions](https://docs.microsoft.com/en-us/sql/tools/sqlcmd-utility?view=sql-server-ver15)) +>The Accounting Service within RedDog relies on SQL Server for persistent storage. As such, you will notice that the `.devcontainer` configuration for Codespaces (located withing the `.devcontainer` folder) points at a Docker compose file that includes a container image reference to SQL Server. While the image will be pulled into your Codespace for you, the database itself will still need to be provisioned. Included in the Reddog repo is an EF Core migration that can be run to provision the database. This migration functionality is located within Reddog.Bootstrapper. ->If desired, execute the following to connect via sqlcmd:
+>The SQL Server command-line tools have been installed for you. If desired, execute the following to connect via sqlcmd:
>sqlcmd -S reddog-code_devcontainer_db_1,1433 -U SA -P "pass@word1" -d reddogdemo

>Execute the following to verify that Reddog tables have been created:
> ```1>SELECT Name FROM sys.tables```