Skip to content

Commit 9e37be2

Browse files
Update start-db.ps1
1 parent 18b5615 commit 9e37be2

File tree

1 file changed

+1
-1
lines changed
  • csharp/recipes_2026/challanges/Recipes/src/Recipes.Api

1 file changed

+1
-1
lines changed

csharp/recipes_2026/challanges/Recipes/src/Recipes.Api/start-db.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ try {
129129
# CRITICAL: Verify tables actually exist
130130
$tablesResult = docker exec recipes-sqlserver /opt/mssql-tools18/bin/sqlcmd `
131131
-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*$' }
132+
-Q "SET NOCOUNT ON; SELECT COUNT(*) FROM sys.tables WHERE name IN ('Users', 'Recipe')" 2>&1 | Where-Object { $_ -match '^\s*\d+\s*$' }
133133

134134
if ($tablesResult -match '^\s*2\s*$') {
135135
Write-Host "SUCCESS: Tables verified (Users and Recipes exist)!" -ForegroundColor Green

0 commit comments

Comments
 (0)