Adjusted verbiage concerning sqlcmd since it is already installed into the codespace.

This commit is contained in:
asofio 2022-03-09 15:49:49 -06:00 коммит произвёл GitHub
Родитель e7276dedac
Коммит 9fbc280ff4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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:<br>
>The SQL Server command-line tools have been installed for you. If desired, execute the following to connect via sqlcmd:<br>
>sqlcmd -S reddog-code_devcontainer_db_1,1433 -U SA -P "pass@word1" -d reddogdemo<br><br>
>Execute the following to verify that Reddog tables have been created:<br>
> ```1>SELECT Name FROM sys.tables```<br>