Skip to content

Commit afa4f0c

Browse files
Add files via upload
1 parent a25761a commit afa4f0c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • csharp/recipes_2026/challanges/Recipes/src/Recipes.Api

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ try {
126126

127127
Write-Host "Migration command completed - verifying tables were created..."
128128

129-
# CRITICAL: Verify tables actually exist
129+
# CRITICAL: Verify tables actually exist (check for actual table names)
130130
$tablesResult = docker exec recipes-sqlserver /opt/mssql-tools18/bin/sqlcmd `
131131
-S localhost -U sa -P $saPassword -d Recipes -C -h-1 `
132132
-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*$') {
135-
Write-Host "SUCCESS: Tables verified (Users and Recipes exist)!" -ForegroundColor Green
135+
Write-Host "SUCCESS: Tables verified (Users and Recipe exist)!" -ForegroundColor Green
136136

137137
# Show what was created
138138
Write-Host "`nCreated tables:" -ForegroundColor Cyan

0 commit comments

Comments
 (0)