Closed mrbiggred closed 1 week ago
Here are the code search results. I'm now analyzing these search results to write the PR.
docker-compose.yml
Create a new Docker Compose file to define the SQL Server 2022 service.
version: '3.8'
services:
db:
image: mcr.microsoft.com/mssql/server:2022-latest
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=password1234!
ports:
- 1433:1433
Source/MigratorConsole/App.config
Update the connection string to point to the SQL Server running in the Docker container.
---
+++
@@ -1,3 +1,3 @@
<connectionStrings>
- <add name="Default" connectionString="Server=(local);Database=MigratorTest;Trusted_Connection=True;"/>
- </connectionStrings>
+ <add name="Default" connectionString="Server=localhost,1433;Database=MigratorTest;User Id=sa;Password=password1234!;TrustServerCertificate=True;"/>
+ </connectionStrings>
Source/MigratorGUI/App.config
Update the connection string to point to the SQL Server running in the Docker container.
---
+++
@@ -1,3 +1,3 @@
<connectionStrings>
- <add name="Default" connectionString="Server=localhost;Database=MigratorTest;Uid=sa;Pwd=Password1234!;TrustServerCertificate=True;" />
+ <add name="Default" connectionString="Server=localhost,1433;Database=MigratorTest;User Id=sa;Password=password1234!;TrustServerCertificate=True;" />
</connectionStrings>
Source/MigratorTests/App.config
Update the connection string to point to the SQL Server running in the Docker container.
---
+++
@@ -1,3 +1,3 @@
<connectionStrings>
- <add name="Master" connectionString="Server=localhost;Database=Master;Uid=sa;Pwd=password1234!;TrustServerCertificate=True;" />
+ <add name="Master" connectionString="Server=localhost,1433;Database=Master;User Id=sa;Password=password1234!;TrustServerCertificate=True;" />
</connectionStrings>
Your changes have been successfully made to the branch sweep/create_docker_compose_file_to_create_sql
. I have validated these changes using a syntax checker and a linter.
[!TIP] To recreate the pull request, edit the issue title or description.
This is an automated message generated by Sweep AI.
The Docker Compose file should be similar to this Docker command: