We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18b5615 commit 9e37be2Copy full SHA for 9e37be2
csharp/recipes_2026/challanges/Recipes/src/Recipes.Api/start-db.ps1
@@ -129,7 +129,7 @@ try {
129
# CRITICAL: Verify tables actually exist
130
$tablesResult = docker exec recipes-sqlserver /opt/mssql-tools18/bin/sqlcmd `
131
-S localhost -U sa -P $saPassword -d Recipes -C -h-1 `
132
- -Q "SET NOCOUNT ON; SELECT COUNT(*) FROM sys.tables WHERE name IN ('Users', 'Recipes')" 2>&1 | Where-Object { $_ -match '^\s*\d+\s*$' }
+ -Q "SET NOCOUNT ON; SELECT COUNT(*) FROM sys.tables WHERE name IN ('Users', 'Recipe')" 2>&1 | Where-Object { $_ -match '^\s*\d+\s*$' }
133
134
if ($tablesResult -match '^\s*2\s*$') {
135
Write-Host "SUCCESS: Tables verified (Users and Recipes exist)!" -ForegroundColor Green
0 commit comments